Question 1(e) 2015 · October-November · Paper 22 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (e)
Part (e)
Mark as follows:
- Open file BookData.DAT
- … for writing/output/append
- test for book data // test this is not a dummy record
- write record to file
- correctly working loop (FOR/WHILE/REPEAT)
- Close file BookData.DAT (or channel number)
Show text version of question
Question 1
Part (e)
Part (e)
Sheena has entered some more book data.
Write pseudocode to save the array records to the serial file BookData.DAT
Only those array elements containing book data should be saved to the file.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...............................................................................................................................................[5]
Why this question appears here
72% assigned-topic match · Hardware › Logic gates and logic circuits
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_w15_qp_22.pdf
