Differentiate between Complier and Interpreter?

An interpreter reads one instruction at a time and carries out the actions implied by that instruction.  It does not perform any translation.  But a compiler translates the entire instructions.

Showing Answers 1 - 3 of 3 Answers

The compiler converts a high level language instruction into into machine language where as an interpreter converts the high level instruction into some intermediate form and after that, the instruction is executed.

The entire program is executed by the compiler before execution,whereas the interpreter translates the first line, and then executes it and so on.

List of errors is created by the compiler after the compilation process where as an interpreter stops translating until the first error is rectified.

An independent executable file is created by the compiler whereas interpreter is required by an interpreted program each time.








  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions