Skip to main content
A-LevelComputer ScienceData types and structures9618/31 · Oct/Nov 2024 · Q55 Marks

Explain what is meant by a hashing algorithm in the context of file access.

  1. (a)Explain what is meant by a hashing algorithm in the context of file access.[3]
  2. (b)The use of a hashing algorithm can result in the same storage location being identified for more than one record. Outline two methods of overcoming this issue. 1 2[2]

Mark scheme

Marking points from the official mark scheme (Oct/Nov 2024). The mark or mark type is shown in brackets.

  1. 5(a) One mark per mark point (Max 3)
  2. 5(a) MP1 A hashing algorithm is used in direct access methods on random and sequential files
  3. 5(a) MP2 It is a mathematical formula
  4. 5(a) MP3 used to perform a calculation applied to the key field of the record being searched / stored
  5. 5(a) MP4 The result of the calculation gives the address where the record should be found / stored.
  6. 5(b) One mark per mark point (Max 2)
  7. 5(b) MP1 The record is stored in the next free memory space after the one identified by the hashing algorithm // Use linear progression
  8. 5(b) MP2 An overflow area is set up and the record is stored in the next free memory space in the overflow area.

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Data types and structures, A-Level Computer Science (syllabus 9618). Structured question, 5 marks.
Source
A-Level Computer Science, Oct/Nov 2024 Paper 3 Variant 1, question 5.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep