Past-paper question · 2025 May-June · Paper 43 · Q3(c)(ii)

Question 3(c)(ii) 2025 · May-June · Paper 43 · 2 marks

Question 3

Part (c)

(ii)

Question 3

A program stores data in a linked list that is designed using Object‑Oriented Programming (OOP).

The class Node stores data about the nodes.

Node TheData : Integer stores the integer data

NextNode : Node stores the next node in the linked list

Constructor() initialises TheData to its parameter value, initialises NextNode to a null value

GetData() returns TheData

GetNextNode() returns NextNode

SetNextNode() takes an object of type Node as a parameter and stores it in NextNode

(ii)

Test your program.

Take a screenshot of the output(s).

Save your program.

Copy and paste the screenshot into part 3(c)(ii) in the evidence document.

[2]

Question 11

Question 12

Permission to reproduce items where third‑party owned material protected by copyright is included has been sought and cleared where possible. Every reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the publisher will be pleased to make amends at the earliest possible opportunity.

To avoid the issue of disclosure of answer‑related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at www.cambridgeinternational.org after the live examination series.

Cambridge Assessment International Education is part of Cambridge Assessment. Cambridge Assessment is the brand name of the University of Cambridge Local Examinations Syndicate (UCLES), which is a department of the University of Cambridge.

Reveal official mark-scheme answer Official mark-scheme answer for 3(C)(II)

Official answer for Question 3

Part (c)

(ii)

Question 1

mark each

Question 2

  • Output of linked list with 50 40 30 20 10
  • Output of 2nd linked list with 50 40 20 10
✓
e.g.

Mark scheme 9618_s25_ms_43.pdf →

Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Constructs

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 9618_s25_qp_43.pdf

Keep practising this topic