Question 1 2015 · May-June · Paper 43 · 9 marks
Reveal official mark-scheme answer
Official answer for Question 1
Show text version of question
Question 1
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
........................... ...........................
........................... ...........................
........................... ...........................
........................... ...........................
Question 4
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
