Question 4(e) 2025 · October-November · Paper 41 · 5 marks
Reveal official mark-scheme answer
The answer for this question is in the official mark scheme: open the mark scheme.
Show text version of question
Question 4
Part (e)
Question 4
…
Question 99
The program uses Object-Oriented Programming (OOP).
Part (e)
The file "HashTableData.txt" stores 200 key values and string data items in the format:
key,string
For example, the first row in the text file is: 528,permission
The key is 528 and the string data is "permission"
The procedure ReadData():
- opens the text file and reads each line
- splits each line into the key and data
- calls InsertData() with an object containing each key and matching data.
Write program code for ReadData()
Save your program.
Copy and paste the program code into part 3(e) in the evidence document.
Why this question appears here
98% assigned-topic match · Further programming › Programming paradigms
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 9618_w25_qp_41.pdf
