Past-paper question · 2009 October-November · Paper 31 · Q4(d)(ii)

Question 4(d)(ii) 2009 · October-November · Paper 31 · 6 marks

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

Official answer for Question 4

Part (d)

(ii)

(ii)

-Insert details in file

  • Insert index entry in one of free space list
  • Start from head of list pointer
✓
Repeat
  • If points to value > new student
  • Then alter pointers to insert new value here in list. End
  • Else follow pointer to new value to compare
  • Until no more values in list
  • Insert new value and move null pointer. End
✓
(1 per -, max 6)
[6]
✓
Mark Scheme: Teachers’ version
✓
Syllabus
✓
Paper
✓
GCE A LEVEL – October/November 2009
✓
9691

Question 31

Mark scheme 9691_w09_ms_31.pdf →

Show text version of question

Question 4

Part (d)

(ii)

Question 4

A school is designing a computer system to satisfy its administration requirements.

The head teacher, the system administrator and five office staff will all require regular access. It is decided to use a single, large, computer with a number of terminals to satisfy demand. The student records are stored using direct access with a full index based on student name. The index is arranged in alphabetical order of student name. The index can be stored in a static or dynamic data structure.

(ii)

It is decided to store the index as a linked list. Describe an algorithm for the insertion of a

new student.

[6]

Question 3

Topic relevance

Why this question appears here

82% 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 9691_w09_qp_31.pdf

Keep practising this topic