State diagram

Diagram of behavior of finite state systems / From Wikipedia, the free encyclopedia

Dear Wikiwand AI, let's keep it short by simply answering these key questions:

Can you list the top facts and stats about State diagram?

Summarize this article for a 10 years old

SHOW ALL QUESTIONS

A state diagram is a type of diagram used in computer science and related fields to describe the behavior of systems. State diagrams require that the system described is composed of a finite number of states; sometimes, this is indeed the case, while at other times this is a reasonable abstraction. Many forms of state diagrams exist, which differ slightly and have different semantics.

Finite_state_machine_example_with_comments.svg
A state diagram for a door that can only be opened and closed