9618/11/M/J/24 question 3: worked solution (May/June 2024, paper 11)

Show as plain text

Cambridge AS Level Computer Science 9618 · 5.2 Language Translators Worked solution from the System Software Paper 1 Theory Fundamentals booklet, Part 2 of 2. Q20 9618/11/M/J/24 original Q3 Structured · 5 marks Worked solution (a) Explain one reason (one point and its reason): The interpreter stops when an error is found [1] ... so the error can be corrected in real time and the result of changes seen immediately [1] Alternative: only one error is shown at a time, so there are fewer errors to correct and no dependent errors. (b) Give up to three points: The program can be distributed without the source code [1] ... so it cannot be edited, stolen or plagiarised [1] Users do not need the translator to run the program, so they spend no time retranslating it [1] KEY IDEA Interpreter: stops at each error so it is fixed at once. Compiler: gives an executable file to sell without the source code. TOTAL 5 marks Official mark scheme VIDEO ▶ Starts at Q3 (41:33) Starts at Q3 (41:33) · by Pseudocode Pro. Tap the picture to open it on YouTube.