Past-paper question · 2023 October-November · Paper 32 · Q9(c)

Question 9(c) 2023 · October-November · Paper 32 · 4 marks

Original past-paper question for 9(C)
Original past-paper question for 9(C)
Original past-paper question for 9(C)
Reveal official mark-scheme answer Official mark-scheme answer for 9(C)

Official answer for Question 9

Part (c)

✓
One mark per mark point (Max 1)

Question 4

✓
MP1
✓
The compiler must produce object code to
✓
One mark per mark point (Max 3)
✓
…push return addresses / values of local variables onto a stack
✓
MP2
✓
…with each recursive call // … to set up winding
✓
MP3
✓
…pop return addresses / values of local variables off the stack …
✓
MP4
✓
…after the base case is reached // … to implement unwinding.
✓
MP5
✓
Cambridge International AS & A Level – Mark Scheme
✓
9618/32
✓
October/November
✓
PUBLISHED
✓
2023
✓
Question
✓
Answer
✓
Marks
✓
One mark per mark point – SIMD (Max 2)

Mark scheme 9618_w23_ms_32.pdf →

Show text version of question

Question 9

Part (c)

Part (c)

Explain how a compiler makes use of a stack when translating recursive programming code.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................

[4]
Topic relevance

Why this question appears here

98% assigned-topic match · Computational thinking and problem-solving › Recursion

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 9618_w23_qp_32.pdf

Keep practising this topic