Worked solution from the Data Representation Paper 3 Advanced Theory booklet, Part 2 of 3.
Write any three of these:
A hashing algorithm is used in direct access to find records in a file, and it is a mathematical formula (calculation) [1]
The calculation is applied to the key field of the record being stored or searched for [1]
The result gives the address where the record is stored or should be found [1]
The first line holds two separate points (used in direct access, and a mathematical formula). Each can earn a mark, but the most you can score is 3.
Give two methods:
Store the record in the next free space after the one the algorithm gave (linear progression) [1]
Set up an overflow area and store the record in the next free space there [1]
▶ Whole paper
Video solution of the whole paper · by Zafar Ali Khan (ZAK). 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.