Question 4(b) 2013 · May-June · Paper 33 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 4
Part (b)
Part (b)
Show text version of question
Question 4
Part (b)
Question 4
A linked list is implemented with an array of records of data type Node. For
Examiner's Use The Node record has two fields as defined below:
RECORD Node Data : STRING Pointer : INTEGER ENDRECORD
Identifier Data Type Description
MyList ARRAY[100] OF Node An array to store the data and pointer values
HeadPointer INTEGER Stores the index position of the node at the head of the linked list
Part (b)
What is the value of:
MyList[HeadPointer].Data?
MyList[3].Pointer?
Why this question appears here
82% 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 9691_s13_qp_33.pdf
