Open In App

GATE | GATE-CS-2002 | Question 7

Like Article
Like
Save
Share
Report

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


Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads