GATE | GATE-CS-2002 | Question 7
The language accepted by a Pushdown Automation in which the stack is limited to 10 items is best described as
(A) Context Free
(C) Deterministic Context Free
Explanation: Pushdown automata is used for context free languages, i.e., languages in which the length of elements is unrestricted and length of one element is related to other. To resolve this problem, we use a stack with no restrictions on length.
But in the given case, length of stack is restricted. Thus, this pushdown automata can only accept languages which can also be accepted by finite state automata and a finite state automata accepts only regular languages.
Thus, B is the correct choice.
Please comment below if you find anything wrong in the above post.
Quiz of this Question