Compiler Vs Interpeter

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Compiler Interpreter

Takes the entire program in one go The interpreter converts a program into machine
code line by line
Original program is called the source code Original program is called the source code
Compilation is called the object code. No object code is produced.
The output of compilation can be executed many Interpreter converts a high-level program each
times without the need to do recompilation time it is executed
Errors displayed after compiling the whole displays the syntax error on each statement of
program the program
Fast execution Slow execution

You might also like