Past-paper question · 2017 May-June · Paper 42 · Q2(a)

Question 2(a) 2017 · May-June · Paper 42 · 1 mark

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

Official answer for Question 2

Part (a)

✓
•
✓
A pointer that doesn’t point to another node/other data/address // indicates the end of the branch

Question 1

Mark scheme 9608_s17_ms_42.pdf →

Show text version of question

Question 2

Part (a)

Question 2

An ordered binary tree Abstract Data Type (ADT) has these associated operations:

  • create tree
  • add new item to tree
  • traverse tree

The binary tree ADT is to be implemented as a linked list of nodes.

Each node consists of data, a left pointer and a right pointer.

Part (a)

A null pointer is shown as O.

Explain the meaning of the term null pointer.

...................................................................................................................................................

...............................................................................................................................................[1]

Topic relevance

Why this question appears here

92% assigned-topic match · Data types and structures › Introduction to abstract data types

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

Keep practising this topic