What is a finite state machine (FSM)?
What is a finite state machine (FSM)?
Model answer
A finite state machine models behavior using a finite set of states, transitions, inputs, and outputs. Its next state is determined by the current state and inputs. FSMs are used for controllers such as traffic-light sequencing and protocol control.