Past-paper question · 2015 May-June · Paper 32 · Q3(b)(ii)

Question 3(b)(ii) 2015 · May-June · Paper 32 · 2 marks

Original past-paper question for 3(B)(II)
Original past-paper question for 3(B)(II)
Original past-paper question for 3(B)(II)
Reveal official mark-scheme answer Official mark-scheme answer for 3(B)(II)

Official answer for Question 3

Part (b)

(ii)

(ii)

✓
•
✓
no need to re-sort data every time new data is added

Question 1

✓
•
✓
only a small file so searching will require little processing

Question 1

✓
•

Question 1

✓
new records can easily be appended
✓
[max 2]
✓
Total: 10

Mark scheme 9608_s15_ms_32.pdf →

Show text version of question

Question 3

Part (b)

(ii)

Annual rainfall data from a number of locations are to be processed in a program.

The following data are to be stored:

  • location name
  • height above sea level (to the nearest metre)
  • total rainfall for each month of the year (centimetres to 1 decimal place)
A
user-defined, composite data type is needed. The programmer chooses

LocationRainfall as the name of this data type.

A
variable of this type can be used to store all the data for one particular location.

(ii)

The programmer decides to store all the data in a file. Initially, data from 27 locations will

be stored. More rainfall locations will be added over time and will never exceed 100.

The programmer has to choose between two types of file organisation. The two types are serial and sequential.

Give two reasons for choosing serial file organisation.

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

.......................................................................................................................................[2]

Question 8

Topic relevance

Why this question appears here

71% assigned-topic match · Data representation › File organisation and access

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 9608_s15_qp_32.pdf

Keep practising this topic