Q8Theory of Computation
Question
Define Pushdown Automata (PDA).
Answer
A PDA is a finite automaton augmented with a stack, recognizing exactly the context-free languages.
A Pushdown Automata (PDA) is a finite automaton augmented with an auxiliary, unbounded stack for extra memory. Formally it is a 7-tuple , where is the stack alphabet, the initial stack symbol, and maps a state, input symbol (or ), and stack-top symbol to a set of (state, stack-string) pairs. The stack gives the PDA memory beyond what a finite set of states can encode, letting it count and match nested or paired structures. A PDA is the recognizer for exactly the context-free languages, and can accept either by reaching a final state or by emptying its stack, with the two acceptance modes being equivalent in power.