CBSE Class 9 Computer Applications Question 16 of 30

Sample Question Paper — Question 4

Back to all questions
4
Question

Question 15

Write the difference between a compiler and an interpreter.

Answer

Differences between a compiler and an interpreter are:

CompilerInterpreter
It translates the whole source program into target program at once.It translates the source program into target program one line at a time.
All the errors found during compilation are displayed together at once.Errors are displayed line by line as each line is translated and executed.