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

Question 5(b)(i) 2015 · October-November · Paper 33 · 2 marks

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

Official answer for Question 5

Part (b)

(i)

Part (b)

(i)

INTEGER

✓
ARRAY[1 : 2000] OF STRING
[2]

Mark scheme 9691_w15_ms_33.pdf →

Show text version of question

Question 5

Part (b)

(i)

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

(i)

Complete the entries in the table.

[2]

Question 11

A
new dataset of cities is used as test data:

LIMA, PARIS, KARACHI, MELBOURNE, WARSAW, CAPE TOWN, EDINBURGH

Topic relevance

Why this question appears here

71% assigned-topic match · Data types and structures › Data types and records

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