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
(B) Regular
(C) Deterministic Context Free
(D) Recursive

Answer: (B)

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

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.