Past-paper question · 2021 October-November · Paper 41 · Q4(e)(i)

Question 4(e)(i) 2021 · October-November · Paper 41 · 8 marks

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

The answer for this question is in the official mark scheme: open the mark scheme.

Mark scheme 9618_w21_ms_41.pdf →

Show text version of question

Question 4

Part (e)

(i)

Question 4

Take a screenshot to show the output after the given data are entered. Copy and paste the screenshot into part 3(d)(ii) in the evidence document.

[1]

Question 11

Part (e)

An in-order tree traversal visits the left node, then the root (and outputs this), then visits the

right node.

(i)

Write a recursive procedure, InOrder(), to perform an in-order traversal on the tree held in ArrayNodes. Save your program. Copy and paste the program code into part 3(e)(i) in the evidence document.

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

Keep practising this topic