Past-paper question · 2019 May-June · Paper 42 · Q1(a)(ii)

Question 1(a)(ii) 2019 · May-June · Paper 42 · 6 marks

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

Official answer for Question 1

Part (a)

(ii)

Question 1

mark per bullet point

Question 6

✓
•
✓
FreePointer
✓
•

Question 36

✓
•

Question 45

✓
•
✓
21 and 65
✓
•
✓
66 and 13
✓
•
✓
54, 53 and 34
✓
RootPointer
✓
Index
✓
LeftPointer
✓
Data
✓
RightPointer
✓
0
✓
[0]

Question 2

Question 36

Question 1

[1]
✓
null

Question 45

Question 3

✓
FreePointer
[2]

Question 5

Question 21

Question 8

Question 9

[3]

Question 6

Question 65

Question 4

[4]
✓
null

Question 66

✓
null
[5]
✓
null

Question 13

✓
null
[6]

Question 7

Question 54

✓
null
[7]
✓
null

Question 53

✓
null
[8]
✓
null

Question 34

✓
null
[9]
✓
9608/42
✓
Cambridge International AS/A Level – Mark Scheme
✓
May/June 2019
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_s19_ms_42.pdf →

Show text version of question

Question 1

Part (a)

(ii)

Question 1

A company wants an online marking system for an examination.

The following is a selection of data showing final marks.

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

0 Index LeftPointer Data RightPointer

0 36

1 45 FreePointer 2 21

3 65

4 66

5 13

6 54

7 53

8 34

Question 9

[6]

Question 4

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

Keep practising this topic