Computer Science · May / June 2020 · Paper 12 · Question 2
0478
As printed in the paper
The question as text
Both an interpreter and a compiler can be used when writing a program in a high-level language.
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
2(a)[4]
Any four from:
To translate the high-level language into low-level languageInterpreter used whilst writing the programInterpreter used to debug code line by lineCompiler used when program completedCompiler used to create separate executable file (so compiler no longer needed)If it runs first time in a compiler there are no syntax errors2(b)[3]
Any three from:
Easier to understand // Don’t know assembly codeEasier to debugEasier to maintainPortableKnowledge of manipulating memory locations/registers not requiredCan use an IDEGreater range of languages
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

