Hello !!!!
Today i am going to tell you some basics of the programming language.
Program :- The set of instructions given in proper sequence to get the desired output is known as the program.
To create program we should learn some programming languages .there are many programming languages and these are classified into below categories.
There are manly three categories of programming languages as :-
Today i am going to tell you some basics of the programming language.
Program :- The set of instructions given in proper sequence to get the desired output is known as the program.
To create program we should learn some programming languages .there are many programming languages and these are classified into below categories.
There are manly three categories of programming languages as :-
- Lower level language :- Instructions are given in the form of binary Coded, its very difficult to understand for people but Computers can understand.
- Assembly level Language :- Here some instructions are used as Sum, Sub, etc. Computer cant understand the language and its quite difficult for humans to understand.
- C- Higher level language :- Instructions are given in small English statements. Its easy to understand for common people but computer cant understand.
Now all you have one doubt that all we write the
codes (English statement ) in any programming languages and how this codes computer can understands
????!!
The answer to this is the Compiler.
The compiler do the work of converting the
higher lower language to the lower level language so the computer can easily
understand the language and do the task.
Software
:- now by combining these all small small programs we can made a software.i.s
the set of program is called as a software.
now to before starting to write a program you need to understand the flowchart to get the idea how to think about a solution of the problem and how to initiate for program writing.
Flowchart :-The diagrammatically representation of the problem solution using the certain symbols
connected to each other by an arrow is called as a flow chart, or diagram representing the workflow or any process is called the flow chart.
below's are some symbols used in flowchart:-
now see some tips on C programming language :-
C programming language is the case sensitive
language, that means it differentiates in between the lower and upper characters
, but nearly everywhere lower case characters are preferably used with some
exceptions also.
In C
Programming every single statement has to be terminated with semicolon (;).
At the beginning of the program one has to introduce
the pre-processors if any . Generally the pre-processor ” include”
is indicated and it has to be followed by the operator Hash (#).
Then
after the header files are come, generally with the “Include pre-processor”. header files come along with prototypes of
Different functions- we will discuss them letter.
Also there are many control statements and loops to make decision like if statement, if else statement, do while loop, while loop, etc.
Comments
Post a Comment