Past-paper question · 2018 October-November · Paper 42 · Q6(a)(ii)

Question 6(a)(ii) 2018 · October-November · Paper 42 · 2 marks

Original past-paper question for 6(A)(II)
Original past-paper question for 6(A)(II)
Reveal official mark-scheme answer Official mark-scheme answer for 6(A)(II)

Official answer for Question 6

Part (a)

(ii)

Question 1

mark per bullet point:

Question 2

✓
•
✓
Declaring CountryList as an array with 15 elements
✓
•
✓
Of type ListElement
✓
Example:
✓
DECLARE CountryList : ARRAY[1 : 15] OF ListElement

Mark scheme 9608_w18_ms_42.pdf →

Show text version of question

Question 6

Part (a)

(ii)

Question 6

A linked list abstract data type (ADT) is created. This is implemented as an array of records. The

records are of type ListElement.

An example of a record of ListElement is shown in the following table.

Data Item Value Country "Scotland" Pointer 1

(ii)

Use pseudocode to write an array declaration to reserve space for only 15 nodes of

type ListElement in an array, CountryList. The lower bound element is 1.

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

[2]
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_w18_qp_42.pdf

Keep practising this topic