ITPEC FE Subject A October 2024 Question 34

Source exam: ITPEC FE Subject A October 2024Topic: Software Development

ITPEC FE Subject A October 2024 — Question 34 of 60

State Machine Diagram — UML behavioral diagram showing a single object's states and transitions in response to triggers.

A state machine diagram models how one object changes its internal state when events (triggers) occur.

Key identifiers:
- "single object" + "triggers/events" → state machine diagram

- Shows: states, transitions, events, guards, actions

Why not others:
- (a) Activity diagram — models workflows and process flows, not a single object's behavior

- (b) Sequence diagram — shows interactions between multiple objects over time

- (d) Use case diagram — describes system functionality from the user's (actor's) perspective

Quick rule: Single object + triggers = State machine diagram. Multiple objects + messages = Sequence diagram. Workflow/process = Activity diagram.

AI-generated — may contain errors

The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.