Past-paper question · 2015 October-November · Paper 33 · Q5(b)(ii)

Question 5(b)(ii) 2015 · October-November · Paper 33 · 0 marks

Original past-paper question for 5(B)(II)
Original past-paper question for 5(B)(II)
Original past-paper question for 5(B)(II)
Reveal official mark-scheme answer Official mark-scheme answer for 5(B)(II)Official mark-scheme answer for 5(B)(II)

Official answer for Question 5

Part (b)

(ii)

(ii)

✓
RootPtr

Question 1

Question 1

Question 3

✓
LIMA

Question 2

Question 2

Question 4

✓
PARIS

Question 5

Question 3

Question 6

✓
KARACHI
✓
0

Question 4

✓
0
✓
MELBOURNE
✓
0

Question 5

✓
0
✓
WARSAW
✓
0

Question 6

✓
0
✓
CAPE TOWN

Question 7

Question 7

✓
0
✓
EDINBURGH
✓
0
[4]
✓
Mark Scheme
✓
Syllabus
✓
Paper
✓
Cambridge International A Level – October/November 2015
✓
9691

Question 33

Mark scheme 9691_w15_ms_33.pdf →

Show text version of question

Question 5

Part (b)

(ii)

The binary tree is implemented in a high-level language using a number of data structures and one variable:

Variable Data type Description

RootPtr .................................................................... The array subscript of the root of the tree

City .................................................................... Array of city names

RightPtr ARRAY[1 : 2000] OF INTEGER Array of right pointer values LeftPtr ARRAY[1 : 2000] OF INTEGER Array of left pointer values

(ii)

Complete the diagram below showing the contents of the arrays and the root pointer

variable.

RootPtr

LeftPtr City RightPtr

1 LIMA

Question 2

Question 3

Question 4

Question 5

Topic relevance

Why this question appears here

86% assigned-topic match · Data types and structures › Arrays

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_w15_qp_33.pdf

Keep practising this topic