The language accepted by a Pushdown Automaton in which the stack is limited to items is best described as
View worked solution
Answer: B
A standard Pushdown Automaton (PDA) has a finite state control and an auxiliary stack of infinite capacity. However, if the stack size is restricted to a maximum of items, the stack can only hold a finite number of configurations.
Let be the stack alphabet. The total number of possible stack configurations is given by:
Since is finite, is also a finite constant.
We can construct an equivalent Finite Automaton (FA) where each state is a tuple representing:
- : the current state of the PDA's finite control.
- : the current contents of the stack.
Since the state space of this equivalent automaton is finite (), the machine is a Finite Automaton. Therefore, the language accepted by this restricted PDA is regular.
Free practice · Your answers on this page are not saved.
