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

Question 6(c)(iii) 2016 · May-June · Paper 12 · 3 marks

Question 6

Part (c)

(iii)

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.

(iii)

When the driver parked the car, the computer system stored the registration plate data in

the appropriate element of the ParkingArea array.

When paying the parking fee, the driver enters the registration plate data at the car park ticket machine.

Describe how the computer system uses the ParkingArea array to find the location of the car.

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

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

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

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

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

.......................................................................................................................................[3]

Reveal official mark-scheme answer Official mark-scheme answer for 6(C)(III)

Official answer for Question 6

Part (c)

(iii)

(iii)

Any three from:

[3]
✓
Nested loop
✓
Searches one row – then all bays
✓
Repeat for further row(s), until car registration found
✓
Output ‘Error’ if input car registration is not found

Mark scheme 9691_s16_ms_12.pdf →

Topic relevance

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

Keep practising this topic