Past-paper question · 2016 May-June · Paper 12 · Q6(d)

Question 6(d) 2016 · May-June · Paper 12 · 2 marks

Question 6

Part (d)

Question 6

An airport car park is made up of 5 rows, each with 8 bays. When a car enters the car park, a

computer system captures its registration plate (number plate) data. The computer system is able to determine the row and bay in which the car is parked.

Part (d)

The car park has ten levels.

Suggest how a programmer could modify the ParkingArea array to store the data for all ten levels.

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

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

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

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

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

Question 14

Reveal official mark-scheme answer Official mark-scheme answer for 6(D)

Official answer for Question 6

Part (d)

Part (d)

extend the upper bound for the ‘bay’ / 'row' subscript by one and use subscript 9 to hold a

✓
digit for the level (1 to 10).
[2]
✓
OR …
✓
Use a 3–D array
✓
The third subscript is the ‘level’

Mark scheme 9691_s16_ms_12.pdf →

Topic relevance

Why this question appears here

71% 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_s16_qp_12.pdf

Keep practising this topic