Worked solution from the System Software Paper 3 Advanced Theory booklet, Part 2 of 2.
Write two other stages:
Code generation [1]
Optimisation [1]
Write any two points:
It checks that the code matches the grammar (rules) of the language [1]
Syntax errors are reported [1]
Also accepted: a parse tree is produced
Only two score (2 marks).
▶ Whole paper
Video solution of the whole paper · by qiphyedu. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.