Computer Science · May / June 2023 · Paper 12 · Question 5
0478
As printed in the paper
The question as text
A programmer writes a computer program using a high‑level language.
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
5(a)[1]
C5(b)(i)[3]
Any three from:
It translates the (high-level language) to low-level language/object code/machine codeIt translates all the code before it is executedIt creates an executable file5(b)(ii)[2]
Any two from:
It creates an error report after trying to compile… displaying all errors in the code… that require correction before execution can take place5(c)[3]
Any three from:
e.g.
Code editorsRun-time environmentBuilt-in interpreterError diagnosticsAuto-completionAuto-correctionPrettyprint
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

