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

Question 6(b) 2007 · October-November · Paper 3 · 3 marks
Reveal official mark-scheme answer

Official answer for Question 6
Part (b)
Part (b)
– Traverse left subtree
- Write down node
- Traverse right hand subtree
✓
(1 per idea, accept line drawn on diagram if obvious order and note made of when readings
✓
taken)
[3]
✓
Mark Scheme
✓
Syllabus
✓
Paper
✓
GCE A LEVEL – October/November 2007
✓
9691
✓
03
Show text version of question
Question 6
Part (b)
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 (b)
Describe an algorithm for using the tree to read the names in alphabetic order.
[3]
Topic relevance
Why this question appears here
92% 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
