Past-paper question · 2007 October-November · Paper 3 · Q6(a)

Question 6(a) 2007 · October-November · Paper 3 · 3 marks

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

Official answer for Question 6

Part (a)

Part (a)

✓
DAMON
✓
CANDU
✓
RISH
✓
AAMON
✓
GLAN
✓
TENAR
✓
(1 per level)
[3]

Mark scheme 9691_w07_ms_3.pdf →

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

Keep practising this topic