Question 2(a)(i) 2010 · May-June · Paper 32 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 2
Part (a)
(i)
(i)
-ID number input
- Read next record from TF
- Compared to ID number from record
- If a match found then record details are output
- If not end of TF then repeat from second mark point
- If no matches then report error
Show text version of question
Question 2
Part (a)
(i)
Question 2
A company uses a computerised payroll system. Details of the work done by employees each
week are stored serially in a transaction file. This transaction file is used to create the payroll at the end of the week. It has to be sorted into the same order as the master file. It is necessary to find and output all the records in the transaction file which relate to a worker with ID number 23714.
(i)
Describe how the file can be searched serially for all records with ID number 23714.
Why this question appears here
82% assigned-topic match · Programming › Constructs
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 9691_s10_qp_32.pdf
