9618/32/O/N/22 question 2: worked solution (October/November 2022, paper 32)
Show as plain textHide plain text
Cambridge A2 Level Computer Science 9618 · 16.2 Translation Software Worked solution from the System Software Paper 3 Advanced Theory booklet, Part 2 of 2. Q21 9618/32/O/N/22 original Q2 Structured · 4 marks Worked solution (a) Write two other stages: Code generation [1] Optimisation [1] (b) 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). KEY IDEA Syntax analysis checks that the tokens follow the rules of the language. TOTAL 4 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by qiphyedu. Tap the picture to open it on YouTube.