Past-paper question · 2016 October-November · Paper 33 · Q2(a)

Question 2(a) 2016 · October-November · Paper 33 · 4 marks

Original past-paper question for 2(A)
Original past-paper question for 2(A)
Reveal official mark-scheme answer Official mark-scheme answer for 2(A)

Official answer for Question 2

Part (a)

Part (a)

✓
Statement
✓
Compilation stage
✓
This stage removes any
✓
comments in the program
✓
Lexical analysis
✓
code
✓
1 mark
✓
This stage could be ignored
✓
Syntax analysis
✓
for each
✓
correct
✓
line
✓
This stage checks the
✓
grammar of the program
✓
Code generation
✓
code
✓
This stage produces a
✓
tokenised version of the
✓
Optimisation
✓
program code
[4]

Mark scheme 9608_w16_ms_33.pdf →

Show text version of question

Question 2

Part (a)

Question 2

There are four stages in the compilation of a program written in a high-level language.

Part (a)

Four statements and four compilation stages are shown below.

Draw a line to link each statement to the correct compilation stage.

Statement Compilation stage

This stage removes any comments in the program Lexical analysis source code.

This stage could be Syntax analysis ignored.

This stage checks the grammar of the program Code generation source code.

This stage produces a tokenised version of the Optimisation program source code.

[4]
Topic relevance

Why this question appears here

82% assigned-topic match · System software › Language translators

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9608_w16_qp_33.pdf

Keep practising this topic