Difference between interpreter and Compiler-tccicomputercoaching.com
Every source code should be first converted into the machine code before executed. Because source code is written in High level Language, But computer cannot understand High level Language. It can understand only low level language. So, all programming code should be converted first in machine code. This process need one intermediate which is interpreter or compiler.
The difference between Compiler and Interpreter:
1. Compiler Takes Entire program as input Interpreter
2. Intermediate Object Code is Generated
3. Conditional Control Statements are Executes faster
4. Memory Requirement : More(Since Object Code is Generated)
5. Program need not be compiled every time
6. Errors are displayed after entire program is checked
7. Example : C Compiler
1. Interpreter Takes Single instruction as input
2. No Intermediate Object Code is Generated
3. Conditional Control Statements are Executes slower
4. Memory Requirement is Less
5. Every time higher level program is converted into lower level program
6. Errors are displayed for every instruction interpreted (if any)
7. Example : BASIC
To know more about programming Language
Connect with us at TCCI.
Call us @ 98256 18292.
Visit us @ http://tccicomputercoaching.com/.