Past-paper question · 2013 October-November · Paper 22 · Q2(c)
Question 2(c) 2013 · October-November · Paper 22 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 2
Part (c)
✓
Any three points from:
- declare a record type // description of a record
- declare a file type
- create a new file of this file type
- repeatedly assign data from array to record
- save the record to file
- close file
– open and read file[3]
Show text version of question
Question 2
Part (c)
Question 2
James plans to store the titles and authors of his favourite ebooks in an array. He has 56 For
ebooks at the moment and expects to reach 150. Examiner's Use
A
two-dimensional array MyEbooks is to be used.
Part (c)
At present when the program terminates all the ebook data are lost.
How can these data be stored and made available every time the program is run?
[3]
Question 7
Topic relevance
Why this question appears here
82% assigned-topic match · Data types and structures › Files
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_w13_qp_22.pdf
