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.

Give two advantages of compiling a program rather than interpreting.

Give two advantages of compiling a program rather than interpreting.

Answers


Kavungya
- Interpreters translate the source program one statement/line at a time, Compilers translate the entire source code at once before execution.
- Interpreters translate the program each time it runs, hence slower than compiling. Complied programs can be saved on a storage media. It does not require any further translation any time the program is run, hence executes faster than interpreted programs.
- Interpreter translation takes less memory, while compiled programs require more memory as the object code files are larger.
Kavungya answered the question on April 16, 2019 at 12:36

Answer Attachments

Exams With Marking Schemes

Related Questions