Skip to main content

WHAT IS CSS?ADVANTAGES, SYNTAX.

 CSS PROGRAMMING LANGAUGE                                                                     disadvantages CSS full form is cascade style sheets , which we call it says about how you should display the HTML elements on the screen. CSS tells us the style of the webpage let us take a simple example, if we build a home first we lay out the design that is known as the HTML language. Where the CSS means layout which means giving instructions on how the furniture should be nothing but the CSS. For example if we take PayPal we can see that the background color blue says the CSS background-color property. Netflix is also the best way of saying  CSS property, but if we remove it will be a normal webpage but with the red color and the black plus symbols it looks like the best webpage. Versions of CSS There are differen...

WHAT IS C LANGUAGE? USES, COMPILER

C LANGUAGE

c language



  • C language compiler, C is one of the most popular languages in programming, 
  • Dennis M.RITCHIE invented C programming in the year the 1970s, 
  • C is a high-level programming language which means, its instructions are away from the understanding of the processor.
  • There is a small difference between C language and C++ that is c does not provide object-oriented support.
  • C++ gives class-based support(ORS) which means the same as the previous line in this blog.

WHY LEARN C  LANGAUGE

  • Learning C language and a compiler will be useful for coding.
  • Especially for making a website with C language.
  • If we learn C++ it will be useful for making a website.
  • This means C language is only used for making a website but C++ is used for adding colors background colors etc.
  • C language is one of the straightforward languages means easily understandable language.

USES OF C LANGUAGE

  • While the C language is used, in the creation of hardware devices. 
  • It is also used in the OS, that is the operating system.
  • In developing system software been used.
  • In the development of the GUIS, which is nothing but a graphical user interface.
  • IDES INTEGRATED DEVELOPING LEARNING ENVIRONMENT. 

COMPILER:-

  • A Compiler is software, that is used to translate the C source code into machine/binary code.
  •  Nothing but a compilation, We compile the code because the processor can understand only the machine language binary. 
  • This means it represents the code in the form of 0 &1, for compiling the c program code we use c compiling software.
  • Once we give input to the compiler the processor takes it analyzes it and gives the desired input.
  •  By removing all the errors if there is an error it will report in the form of output which is the final.

SOURCE CODE:-


  • Program code is nothing but source code, human-readable instructions expressed in some programming languages are known as source code.
  •  A set of instructions expressed in some programming language is nothing but the source code in
          c programming langauge.
  • When we install any c software, we get a text editor along with it using which we can write and edit the source code of that program.
  • We can say that whatever we write the text these are treated as the code lines each line is executed with some conditions.
  • This may be if else, else if, switch statement, nested if, or control statement these are some of the main conditions which we use.

SOURCE FILE:-

  • A text file that contains the code of a program is the source file, After writing the source code
          we save the file at a specified location for compiling and then we execute the program.

  • Each file is stored with different extensions suppose we go with c saved with .c, python-.py we save it with this keyword.
  • The entire program will be stored in this text file we can execute this as a number of times permanently stored.
  • These files will be in the form of so that we can understand them easily, not in the form of binary format which is 0&1.
  • Saving this gets stored in a hard disk, which is the main part of the system or laptop we could say in any one of them.

 FOR C PROGRAMMING LANGUAGE

  • We use different types of software for the execution of c programs Turbo C/C++, dev C/C++, and Borland C/C++ mostly used in turbo and dev.
  • For executing any program the software is the main important key role-playing we are using this software I mentioned is free and can be used for the program.
Practice 
  • Program to find the average of the natural numbers.
#include<stdio.h>
void main()
{
float n1=-45;
float n2=60;
int n3;
n3=n1+n2/2;
print(n3);
}
  • Check whether the given number is odd or even.
#include<stdio.h>
void main()
{
int e=4;
int d;
d=e/2;
if(d==0):
{
printf("it is even");
}
else
{
printf("it is odd");
}





Comments

Popular posts from this blog

WHAT IS CSS?ADVANTAGES, SYNTAX.

 CSS PROGRAMMING LANGAUGE                                                                     disadvantages CSS full form is cascade style sheets , which we call it says about how you should display the HTML elements on the screen. CSS tells us the style of the webpage let us take a simple example, if we build a home first we lay out the design that is known as the HTML language. Where the CSS means layout which means giving instructions on how the furniture should be nothing but the CSS. For example if we take PayPal we can see that the background color blue says the CSS background-color property. Netflix is also the best way of saying  CSS property, but if we remove it will be a normal webpage but with the red color and the black plus symbols it looks like the best webpage. Versions of CSS There are differen...

WHAT IS HTML?HEADING TAGS

 WHAT IS HTML?                                                                 HTML  stands for hypertext markup language this is the full form of HTML. HTML is an important markup language for creating web pages. If we see any website then click the link we go to another page which is known as the web page,           combination of these web pages is known as a websit e . It is known by the name html because it is used to make the content in it more presentable. The first line of any html code is <!doctype> which is the most important step we could say. Tin Berners Lee has created the HTML programming language, and version 4.0 has become the most popular one. BASIC PROGRAM IN HTML <html> <head> <title>page title</title> <body> <h1>hi</h1> </bod...

HTML STYLES?FONT SIZE,BACKGROUND COLOUR

 HTML STYLES                                                                  background colour In HTML  have different styles like background color, font size, text color, and text alignment in this blog we are going to study different HTML styles. HTML styles that are used to change or else change whatever existing HTML tags. We have different types of styles internal styling, which is nothing but using this inside the html element. Internal means utilizing it in the head section of the HTML code, external is to apply it externally to the CSS file. BACKGROUND COLOUR We will use background color as a style in HTML for webpages to give color to the web pages of different colors like blue, red, black, etc. and there will be a syntax for giving background color. <body style="background-color: green;"> This is...