Professional Documents
Culture Documents
The code has to be translated every time before execution because the interpreter
does not store the translated code.
If there is syntax error in one line the rest of the statements are not interpreted.
What is compiler?
Compiler is a translator.
Compiler translates whole program and start execution.
What is difference between interpreter and compiler?
Interpreter Compiler
Translates and execute instructions line by line.
Translate whole program and execute
It cannot store translated code,
It can store translated code
It has be translated every time before execution.
It is translated only one time and can be executed any number
of times.
It shows only one error
It shows all the errors
What is program?
Set of data and instructions.
What is programming?
Programming is organizing of data and instructions according to given
problem
POP
MOP
OOP
SOP
FOP
AOP