Skip to content
Related Articles
Open in App
Not now

Related Articles

GATE | GATE-CS-2002 | Question 7

Improve Article
Save Article
  • Last Updated : 28 Jun, 2021
Improve Article
Save Article

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
Related Articles

Start Your Coding Journey Now!