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

Question 6(a)(i) 2018 · October-November · Paper 42 · 3 marks

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

Official answer for Question 6

Part (a)

(i)

Question 1

mark per bullet point:

Question 3

✓
•
✓
Declaring a record type // class etc.
✓
•
✓
Declaring Country as a string
✓
•
✓
Declaring Pointer as an integer
✓
Example:
✓
TYPE ListElement
✓
DECLARE Country : STRING
✓
DECLARE Pointer : INTEGER
✓
ENDTYPE
✓
9608/42
✓
Cambridge International AS/A Level – Mark Scheme
✓
October/November 2018
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_w18_ms_42.pdf →

Show text version of question

Question 6

Part (a)

(i)

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

(i)

Use pseudocode to write a definition for the record type, ListElement.

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

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

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

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

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

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

Keep practising this topic