Nepedia
Back to Discover
Independent Reader
🔢

Pushdown automaton

math Maturity 11-13 Next article →

A pushdown automaton is a type of machine.

Pushdown-overview
Pushdown-overview

It is used to study what machines can compute. This machine uses a stack to remember things. A stack works like a pile of trays in a cafeteria. You can only work with the tray on top. You can add a new tray to the top. This is called pushing. You can also take the top tray away. This is called popping.

Pushdown-step
Pushdown-step

These machines are more powerful than simple machines. Simple machines have no stack to help them. A pushdown automaton can use the top of its stack to make choices. It can also change the stack as it works. Some machines have only one possible move at a time. We call these deterministic pushdown automata. Other machines can choose from many different paths.

Pda-example
Pda-example

These machines can solve special kinds of puzzles. We call these puzzles context-free languages. A machine can also accept a puzzle in two ways. It can reach a final state. Or, it can empty its stack completely.

Pda-steps
Pda-steps
170 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (4)
File:Pushdown-overview.svg
Pushdown-overview.svg
File:Pushdown-step.svg
Pushdown-step.svg
File:Pda-example.svg
Pda-example.svg
File:Pda-steps.svg
Pda-steps.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.