IQ.IV · ISTQB CTFL practice question
A lock state machine has states Locked and Unlocked. From Locked, entering the right PIN transitions to Unlocked; entering a wrong PIN stays Locked. From Unlocked, pressing Lock transitions to Locked. Which sequence of events demonstrates a valid transition from Locked to Unlocked and back to Locked?
Check answer and explanation
Correct answer: Right PIN (Locked -> Unlocked), then Lock (Unlocked -> Locked)
Explanation
Starting in Locked, a valid PIN moves to Unlocked, and pressing Lock from Unlocked transitions back to Locked.
Common trap
Starting in Locked, a valid PIN moves to Unlocked, and pressing Lock from Unlocked transitions back to Locked.
Source: Original unofficial practice; not an official ISTQB exam item
Checked against the cited text on 2026-11-30.