volume_mute

Reading a Superstate Expansion

publish date2026/06/08 10:49:38.720810 UTC

volume_mute

The diagram below shows the expansion of the Operation superstate from the microwave oven model.

Operation Checking do: check status OK Cook do: run generator Time Timeout Alarm do: display event Turntable fault Emitter fault Done do: buzzer on for 5 secs. Disabled Door open Waiting Cancel

In the Operation superstate expansion, what happens when a Turntable fault or Emitter fault is detected?

Correct Answer

The system transitions to the Alarm state (do: display event) within the Operation superstate

Explanation

Within the Operation superstate, both a Turntable fault and an Emitter fault trigger a transition to the Alarm state (do: display event). The Alarm state displays information about the detected fault. This is a safety sub-state within Operation — the system signals the problem via the display rather than continuing to cook or returning to Waiting.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears