Past-paper question · 2019 May-June · Paper 43 · Q2(a)(ii)

Question 2(a)(ii) 2019 · May-June · Paper 43 · 6 marks

Original past-paper question for 2(A)(II)
Original past-paper question for 2(A)(II)
Reveal official mark-scheme answer

Official answer for Question 2

Part (a)

(ii)

Question 1

mark per bullet point

Question 6

✓
•
✓
FreePointer as 8
✓
•

Question 99

✓
•
✓
125
✓
•
✓
121 and 97
✓
•
✓
109 and 95
✓
•
✓
135 and 149
✓
RootPointer
✓
Index
✓
LeftPointer
✓
Data
✓
RightPointer
✓
0
✓
[0]

Question 3

Question 99

Question 1

[1]

Question 2

✓
125

Question 6

✓
FreePointer
[2]

Question 4

✓
121
✓
null

Question 8

[3]

Question 5

Question 97

✓
null
[4]
✓
null
✓
109
✓
null
[5]
✓
null

Question 95

✓
null
[6]
✓
null
✓
135

Question 7

[7]
✓
null
✓
149
✓
null
[8]

Mark scheme 9608_s19_ms_43.pdf →

Show text version of question

Question 2

Part (a)

(ii)

Question 2

A computer games club wants to run a competition. The club needs a system to store the scores

achieved in the competition.

A
selection of score data is as follows:
A
linked list of nodes will be used to store the data. Each node consists of the data, a left

pointer and a right pointer. The linked list will be organised as a binary tree.

(ii)

The following diagram shows a 2D array that stores the nodes of the binary tree’s linked

list.

Add the correct pointer values to complete the diagram, using your answer from part (a)(i).

RootPointer Index LeftPointer Data RightPointer

0 0 99

1 125

2 121

3 97 FreePointer 4 109

5 95

6 135

7 149

Question 8

[6]

Question 6

Topic relevance

Why this question appears here

71% 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 9608_s19_qp_43.pdf

Keep practising this topic