9618/31/O/N/21 question 5: worked solution (October/November 2021, paper 31)
Show as plain textHide plain text
Cambridge A2 Level Computer Science 9618 · 13.2 File organisation and access Worked solution from the Data Representation Paper 3 Advanced Theory booklet, Part 2 of 3. Q22 9618/31/O/N/21 original Q5 Structured · 6 marks Worked solution (a) Compare the two methods. Give similarities and differences. Both store records one after the other [1] Both need records to be read one after the other (from the start) [1] Serial : records are in no order, usually the order they were added (chronological). New records are added at the end (next free space) [1] Sequential : records are in order of a key field. New records are inserted in the correct position [1] Any four correct points score. (b) Write: direct access [1] (c) Write: sequential access [1] KEY IDEA Serial files are in the order added; sequential files are in key order; direct access uses an address. TOTAL 6 marks Official mark scheme VIDEO ▶ Whole paper Video solution of the whole paper · by qiphyedu. Tap the picture to open it on YouTube.