PROGRAM : A program is a sequence of instruction that can be executed by a computer or u can say a program is a set of an executable statement.
I am communicating with u in english because u are able to understand english language.
Think if we wish to talk or communicate with computer then in which language we have to give instruction and the ans is "binary language"
but as we know it is not possible to remember all binary that's why we give instruction in High level language in the form of "program".
But still there is one problem computer don't understand "program" it understand binary number, so we need an interface to convert "source code" into "Objectcode".......and that interface is compiler.
COMPILER :A compiler is a software system which converts the source code into object or
Human acceptable language(HIGH level language) into machine acceptable language(binary number or low level language),that the computer operating system can then run.
SOURCECODE : Coding of program in any high level programming language.
eg -
#include"iostream.h"
void main()
{ int x=10; cout<<"\n\t\t\t\n\n"<<x; }
OBJECTCODE : Objectcode is simply set of instruction in binary number. It is formed after the compilation of sourcecode..
Now supose teacher asked u to solve a problem then obiously u need a paper to write in the same manner here to write and edit the program u need "TEXT EDITOR".
TEXT EDITOR : It is a software system that allows u to create and edit text files on your computer.
Programmers uses text editor to write programs in a programming language such as c++.
CONSOLE PROGRAM : Console programs or applications are that which uses text to communicate with the user and to show their results i.e. which uses command line for input and output rather than graphical user interface (G.U.I.).
"High level langusges are machine independent"
There is three basi steps of software design :-
1)Flowchart
2)Algorithm
3)Coding
Steps in developing a program :-
1)Program design(development of a strategy to be used in writing the program)
2)Program coding
3)Program testing(includes detecting and removing error)
That's why we install a TC software...........................
Few examples of compiler :-
1)Turboo c++
2)Borland
3)Zortech
4)Dev c++
4)Intel C++
4)Microsoft c++

7:33 PM
Alice


0 comments:
Post a Comment