difference between compiler and interpreter
Answers
Answered by
87
An interpreter converts a program written in a High Level Language into machine language program line-by-line .
A compiler converts an entire program written in HLL into machine language in on go.
Interpreter works faster than a compiler and is not needed to be in the memory with program for its execution, unlike a compiler.
A compiler converts an entire program written in HLL into machine language in on go.
Interpreter works faster than a compiler and is not needed to be in the memory with program for its execution, unlike a compiler.
Answered by
36
a COMPILER searches all the errors of program and list them. If the program is error free then it converts the code of program into machine code and then the program can be executed by separate commands. An INTERPRETER checks the error of a program statement by statement.
Similar questions
Social Sciences,
10 months ago
Social Sciences,
10 months ago
Biology,
1 year ago
Chemistry,
1 year ago
English,
1 year ago
Math,
1 year ago