volume_mute

The Problem with Large State Models — Superstates

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

volume_mute

The problem with state-based modeling for large systems is that the number of possible states increases rapidly. One way to manage this is by using the notion of a superstate. What is a superstate?

Correct Answer

A state that encapsulates a number of separate sub-states, appearing as a single state on a high-level model but expandable to show more detail on a separate diagram

Explanation

A superstate encapsulates a number of separate states. On a high-level diagram it looks like a single state, but it can be expanded to show more detail on a separate diagram. For example, the Operation state in the microwave oven diagram is a superstate that expands into sub-states: Checking, Cook, Done, Alarm, etc. This hides detail in high-level models while allowing drill-down.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears