Past-paper question · 2012 October-November · Paper 12 · Q7(b)(ii)
Question 7(b)(ii) 2012 · October-November · Paper 12 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 7
Part (b)
(ii)
(ii)
– Read file serially, one record at a time
- compare key field with new key
- if new key lower,
- … write new record to new file,
- …else write existing record to new file
- once the new record is written...
- The remainder of the old file is copied to the new file after the new record
- delete old file
- rename new file
✓
(1 per -, max 4)
[4]
Show text version of question
Question 7
Part (b)
(ii)
(ii)
The student file in a school administration system is implemented as a sequential
file.
If a new student begins at the school during the school year, describe how their record can be added to the student file.
[4]
Question 9
Topic relevance
Why this question appears here
71% assigned-topic match · Data types and structures › Files
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_w12_qp_12.pdf
