Nepedia
Back to Discover
Developing Reader
🔢

Finite-state machine

math Maturity 11-13 Next article →

Some machines follow a set plan.

Tornelli
Tornelli

A gate can be locked or unlocked. You put in a coin to unlock it. Then you push through to pass. After that, it locks again.

Turnstile state machine colored
Turnstile state machine colored

This is called a state machine. It can be a turnstile or a vending machine. It can even be a traffic light. These machines change what they do based on what happens. They use a list of states to work. This helps them know what to do next.

80 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (10)
File:Turnstile state machine colored.svg
Turnstile state machine colored.svg
File:Tornelli.jpg
Tornelli.jpg
File:UML state machine Fig5.png
UML state machine Fig5.png
File:SdlStateMachine.png
SdlStateMachine.png
File:Finite state machine example with comments.svg
Finite state machine example with comments.svg
File:Fsm parsing word nice.svg
Fsm parsing word nice.svg
File:DFAexample.svg
DFAexample.svg
File:Fsm Moore model door control.svg
Fsm Moore model door control.svg
File:Fsm mealy model door control.svg
Fsm mealy model door control.svg
File:4 bit counter.svg
4 bit counter.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.