Olympiad · Practice · public practice problem
Innovator division (School Level 3)
Digital Logic
No state left behind: an automatic door
Difficulty 3 of 510 points in 4 partsSuggested time ~18 min (never timed here)
The problem
An automatic door controller has four states, CLOSED, OPENING, OPEN, CLOSING, and four events: person (sensor sees someone), fullyOpen, timer (open time expired) and fullyClosed. The draft design lists six transitions: CLOSED+person→OPENING, OPENING+fullyOpen→OPEN, OPEN+timer→CLOSING, CLOSING+fullyClosed→CLOSED, CLOSING+person→OPENING, OPEN+person→OPEN (restart timer).
Part (a) · 2 points
How many state–event pairs must a complete design say something about?
(pure number)Tolerance: exactPart (b) · 2 points
How many pairs does the draft leave unspecified?
(pure number)Tolerance: exactPart (c) · 2 points
Part (d) · 4 points · rubric with 3 criteria
Decide OPENING + person and CLOSED + timer, and explain how you would write a test set that proves the table is complete.
Written parts stay in your browser. Reveal the worked solution to mark yourself against the rubric.
Checked so far: 0 of 6 automatically marked points, plus 4 for written parts you mark yourself against the rubric. Nothing is saved.
Stuck? Hints, then the worked solution
Written with AI assistance. Review status: technically-checked (answers recomputed independently with units verified by automated tests); not yet reviewed by an educator or judge.