📞 0339-0387701 (WhatsApp) Contact

« Back to Software Engineering (NCCIA)

What is a state machine diagram used for?

A. To show the states of an object and transitions between them in response to events ✅
B. To show classes
C. To show use cases
D. To show deployment

Correct Answer: A. To show the states of an object and transitions between them in response to events

Explanation

  • State machine diagrams model lifecycle behaviour
  • Each state is a condition of the object.