Worked solution from the Data Representation Paper 3 Advanced Theory booklet, Part 2 of 3.
Write that records are searched for one after the other [1]
... starting from the physical start of the file, until the record is found or the end of the file is reached. [1]
Any three of these:
Serial files: records are stored in the order they were added (chronological order). [1]
Every record is checked until the wanted record is found or all records have been checked. [1]
Sequential files: records are stored in order of a key field, and the key field is what is compared. [1]
The search stops when the record is found or the key of the current record is greater than the key of the target record. (also credited, but no extra mark: any n only)
▶ Whole paper
Video solution of the whole paper · by CsWithMym. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.