2014 – Q18 (e)

While the program is being implemented, the programmer stops occasionally to run the program.

State the type of translator you would recommend the programmer uses in this situation.

Explain your answer. (2)

Translator:

Explanation:

Translator: Interpreter (1 mark)

Explanation: No need to leave programming environment/tracing facilities/debugging facilities (1 mark)

Note that both interpreters and compilers translate code one line at a time and return errors. Candidates answer must go futher to distinguish between the two.

Leave a Reply

Your email address will not be published. Required fields are marked *