Past-paper question · 2016 May-June · Paper 43 · Q1(b)(i)

Question 1(b)(i) 2016 · May-June · Paper 43 · 5 marks

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

The answer for this question is in the official mark scheme: open the mark scheme.

Mark scheme 9608_s16_ms_43.pdf →

Show text version of question

Question 1

Part (b)

(i)

Question 1

A linked list abstract data type (ADT) is to be used to store and organise surnames.

This will be implemented with a 1D array and a start pointer. Elements of the array consist of a user-defined type. The user-defined type consists of a data value and a link pointer.

Identifier Data type Description LinkedList RECORD User-defined type Surname STRING Surname string Ptr INTEGER Link pointers for the linked list The following surnames are organised as a linked list with a start pointer StartPtr.

StartPtr: 3 1 2 3 4 5 6 5000 Surname Liu Yang Chan Wu Zhao Huang … Ptr 4 5 6 2 0 1 …

State the value of the following:

(i)

SurnameList[4].Surname .......................................................................................[1]

Topic relevance

Why this question appears here

72% 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 9608_s16_qp_43.pdf

Keep practising this topic