| 
Sr. No. | 
Compiler | 
Interpreter | 
| 
1 | 
Compiler is used to translate high level instruction into machine language. | 
Interpreter is used to translate the high level instruction into an intermediate code. | 
| 
2 | 
The compiler executes the entire program at a time. | 
The interpreter executes each and every line of program individually. | 
| 
3 | 
Compiler reports errors at the end of program compilation. | |
| 
4 | 
In compiler the analyzing and processing time of the program is more. | 
Interpreter spends less time for the program analyzing and processing. | 
| 
5 | 
The compiler verifies syntax of program. | 
Interpreter verifies the keywords of a program. | 
Saturday, 30 March 2013
Difference Between Compiler and Interpreter
Labels:
Programming
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment