Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

Distinguish between compiler and interpreter.

Distinguish between compiler and interpreter.

Answers


gideon
Distinguish between compiler and interpreter

- A compiler translates the entire program at once as a unit before execution can begin. An Interpreter translates one instruction of the source program at a time. The translated instruction is immediately obeyed before the next instruction can be translated.

- An interpreter translates the program each time it is needed for execution; compiled programs can be saved on a storage media and run when required.

- For an Interpreter, syntax errors are reported & corrected before the execution can continue. For a compiler, syntax errors are reported & corrected after the source code has been translated to its object code equivalent.
gideon1 answered the question on September 29, 2017 at 18:45

Answer Attachments

Exams With Marking Schemes

Related Questions