Question 1(a)(i) 2016 · May-June · Paper 43 · 3 marks
Reveal official mark-scheme answer
The answer for this question is in the official mark scheme: open the mark scheme.
Show text version of question
Question 1
Part (a)
(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
(i)
Write pseudocode to declare the type LinkedList.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
.......................................................................................................................................[3]
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
