Past-paper question · 2022 October-November · Paper 42 · Q3(e)(i)

Question 3(e)(i) 2022 · October-November · Paper 42 · 1 mark

Original past-paper question for 3(E)(I)
Original past-paper question for 3(E)(I)
Original past-paper question for 3(E)(I)
Reveal official mark-scheme answer Official mark-scheme answer for 3(E)(I)

Official answer for Question 3

Part (e)

(i)

Question 1

mark for calling function and outputting return value.

Question 1

✓
Example program code:
✓
Java
✓
System.out.println(RecursiveOutput(TailPointer-1));
✓
Python
✓
print(str(RecursiveOutput(TailPointer - 1)))
✓
VB.NET
✓
Console.WriteLine(RecursiveOutput(TailPointer - 1))
✓
Cambridge International AS & A Level – Mark Scheme
✓
9618/42
✓
October/November
✓
PUBLISHED
✓
2022
✓
Question
✓
Answer
✓
Marks

Mark scheme 9618_w22_ms_42.pdf →

Show text version of question

Question 3

Part (e)

(i)

Question 3

A program uses a linear queue to store up to 100 integers.

The main program calls the recursive function from part 3(d) and outputs the value returned.

(i)

Amend the main program by writing program code to perform this task.

Save your program.

Copy and paste the program code into part 3(e)(i) in the evidence document.

[1]
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_w22_qp_42.pdf

Keep practising this topic