1. PushdownAutomataPDAs 2. Pushdown Automaton --PDA Input String Stack States 3. Initial Stack Symbol Stack Stack$ z bottom special symbol 4. The States InputPopPush symbol…