Get premium membership and access questions with answers, video lessons as well as revision papers.

What are the similarities and differences between compilers and interpreters?

      

Compare and contrast compilers and interpreters.

  

Answers


Maurice
(a) A compiler translates the whole source code first before execution starts whereas an interpreter translates the next line and so on until the whole conversion is complete.

(b) A compiler produces and stores objects code after compilation whereas an interpreter produces but does not store object code after interpretation.

(c) A compiler occupies large memory to store compiled executable (exe) object code.
An interpreter occupies less memory because it does not store executable object code.

(d) Compilers are faster because they translate the entire source code at once and store the object code.
Interpreters are generally slower than compiled programs due to the per-line translation method.
maurice.mutuku answered the question on April 19, 2018 at 06:52


Next: What are the disadvantages of using an Interpreter?
Previous: Explain the meaning of information and communication technology (ICT)

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions