Past-paper question · 2015 May-June · Paper 43 · Q1

Question 1 2015 · May-June · Paper 43 · 9 marks

Original past-paper question for 1
Original past-paper question for 1
Reveal official mark-scheme answer Official mark-scheme answer for 1

Official answer for Question 1

✓
Take nozzle
✓
start
✓
Pump ready
✓
Pump in use
✓
Press trigger
✓
Replace nozzle
✓
Reset pump display
✓
Stop pressing trigger
✓
Pump out of use
✓
Pump dispensing
[9]

Mark scheme 9608_s15_ms_43.pdf →

Show text version of question

Question 1

A
petrol filling station has a single self-service petrol pump.
A
customer can use the petrol pump when it is ready to dispense petrol.

The pump is in use when the customer takes the nozzle from a holster on the pump. The pump dispenses petrol while the customer presses the trigger on the nozzle. When the customer replaces the nozzle into the holster, the pump is out of use. The cashier must press a reset button to make the pump ready for the next customer to use.

The petrol pump’s four possible states and the transition from one state to another are as shown in the table below.

Current state Event Next state

Pump ready Take nozzle Pump in use

Pump in use Press trigger Pump dispensing

Pump dispensing Stop pressing trigger Pump in use

Pump in use Replace nozzle Pump out of use

Pump out of use Reset pump display Pump ready

Complete the state transition diagram for the petrol pump:

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

start

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

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

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

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

[9]

Question 4

Topic relevance

Why this question appears here

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

Keep practising this topic