Embed presentation
Download to read offline







A finite state machine (FSM) is a model of computation that consists of a finite number of states, inputs that trigger transitions between states, and outputs. An FSM can be represented graphically using a state diagram showing the states, transitions, inputs, and outputs. A simple example of an FSM is a ballpoint pen, which has two states (retracted, extended), one input (clicking the button), and one output (retraction or extension of the ballpoint). The state transition diagram and table for a ballpoint pen FSM are provided.






