What is a state machine?

Complete and Continue