Past-paper question · 2017 May-June · Paper 41 · Q4(a)(ii)

Question 4(a)(ii) 2017 · May-June · Paper 41 · 2 marks

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

Official answer for Question 4

Part (a)

(ii)

✓
1 mark for the two classes (in boxes) and connection with correct end point
✓
1 mark for 0 ..* 0
✓
9608/41
✓
Cambridge International AS/A Level – Mark Scheme
✓
May/June 2017
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_s17_ms_41.pdf →

Show text version of question

Question 4

Part (a)

(ii)

Question 4

An ordered linked list Abstract Data Type (ADT) has these associated operations:

  • create list
  • add item to list
  • output list to console

The ADT is to be implemented using object-oriented programming as a linked list of nodes.

Each node consists of data and a pointer. There are two classes, LinkedList and Node.

(ii)

Draw the appropriate diagram to represent this relationship. Do not list the attributes and

methods of the classes.

[2]

Question 9

Topic relevance

Why this question appears here

98% assigned-topic match · Further programming › Programming paradigms

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_s17_qp_41.pdf

Keep practising this topic