Question 1 2015 · May-June · Paper 42 · 5 marks
Reveal official mark-scheme answer
Official answer for Question 1
Show text version of question
Question 1
a coin into a slot on the turnstile. The turnstile then unlocks and allows the customer to push the turnstile and pass through the gate.
After the customer has passed through, the turnstile locks again. If a customer pushes the turnstile while it is in the locked state, it will remain locked until another coin is inserted.
The turnstile has two possible states: locked and unlocked. The transition from one state to another is as shown in the table below.
Current state Event Next state Locked Insert coin Unlocked Locked Push Locked Unlocked Attempt to insert coin Unlocked Unlocked Pass through Locked
Complete the state transition diagram for the turnstile:
..............................
.............................. ..............................
.............................. ..............................
start ..............................
Question 4
Why this question appears here
92% 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_42.pdf
