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

Question 1(c)(i) 2016 · May-June · Paper 43 · 2 marks

Original past-paper question for 1(C)(I)
Original past-paper question for 1(C)(I)
Original past-paper question for 1(C)(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 (c)

(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 Pseudocode is to be written to search the linked list for a surname input by the user.

Identifier Data type Description ThisSurname STRING The surname to search for Current INTEGER Index to array SurnameList Index to array SurnameList. Points to the StartPtr INTEGER element at the start of the linked list

(i)

Study the pseudocode in part (c)(ii).

Complete the table above by adding the missing identifier details.

[2]
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