Diference Between Compiler and Interpreter
In previous lessons We learn about Comiler and Interpreter , Now we will learn about Difference between Compiler & Interpreter.
Difference between Compiler and Interpreter:-
No | Compiler | Interpreter |
---|---|---|
1 | Compiler Takes Entire program as input | Interpreter Takes Single instruction as input . |
2 | Intermediate Object Code is Generated | No Intermediate Object Code is Generated |
3 | Conditional Control Statements are Executes faster | Conditional Control Statements are Executes slower |
4 | Memory Requirement : More(Since Object Code is Generated) | Memory Requirement is Less |
5 | Program need not be compiledevery time | Every time higher level program is converted into lower level program |
6 | Errors are displayed after entire program is checked | Errors are displayed for every instruction interpreted (if any) |
7 | Example : C Compiler | Example : BASIC |
JustHAck C Tutorials
Just understand the concept of the compiler and interpreter:–
Just understand the concept of the compiler and interpreter:–
Diference Between Compiler and Interpreter
Reviewed by ANAND PANDEY
on
6:55:00 AM
Rating:
No comments: