Past-paper question · 2007 October-November · Paper 3 · Q6(a)
Question 6(a) 2007 · October-November · Paper 3 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 6
Part (a)
Part (a)
✓
DAMON
✓
CANDU
✓
RISH
✓
AAMON
✓
GLAN
✓
TENAR
✓
(1 per level)
[3]
Show text version of question
Question 6
Part (a)
Question 6
Names are to be stored in a binary tree according to the algorithm
1. Repeat 2. If Name > node then take right pointer 3. Else take left pointer 4. Until empty node 5. Insert Name
Part (a)
Given that the root node is DAMON, create the binary tree resulting from inserting:
CANDU RISH AAMON TENAR GLAN
in the given order.
[3]
Topic relevance
Why this question appears here
71% assigned-topic match · Programming › Constructs
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 9691_w07_qp_3.pdf
