Question
Which ONE of the following languages is accepted by a deterministic pushdown automaton?
Official answer and solution
- Official answer
- A
- From
- Official GATE 2025 answer key
Solution
Use the strict inclusion .
Every regular language is accepted by a deterministic finite automaton (DFA), which can be directly simulated by a deterministic pushdown automaton (DPDA) that never modifies its stack. In contrast, the class of deterministic context-free languages (DCFLs) is a proper subset of all context-free languages (for example, even-length palindromes is a CFL not accepted by any DPDA).
Option (A)
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2025 Computer Science and Information Technology - Session 2 (CS2)
- Question
- 24 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.