Question 4(d)(ii) 2009 · October-November · Paper 31 · 6 marks
Reveal official mark-scheme answer

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
- 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
Question 31
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.
Question 3
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
