in Theory of Computation edited by
8,120 views
41 votes
41 votes

The language accepted by a Pushdown Automaton in which the stack is limited to $10$ items is best described as

  1. Context free
  2. Regular
  3. Deterministic Context free
  4. Recursive
in Theory of Computation edited by
8.1k views

1 Answer

50 votes
50 votes
Best answer

Correct Option: B

With only finite positions in stack, we can have only finite configurations and these can also be modeled as states in a finite automata.

edited by
by

4 Comments

@avraw

We can construct DFA for a^nb^n for n<10 as it is regular
0
0
As there is a finite number of items mentioned that is 10 items. So, a FA is always possible. That’s why regular language is best described.

Can we say conclude this answer with the above statement?
0
0

@Sachin Mittal 1

using this approach, we will have at most 10 states, Finite State automata which generates Regular Grammar. please verify.

0
0
Answer:

Related questions