Which ONE of the following languages is accepted by a deteministic pushdown automaton?
View worked solution
Answer: A
To determine which class of languages is accepted by a Deterministic Pushdown Automaton (DPDA), let us analyze the language hierarchies and the capabilities of a DPDA:
- Deterministic Context-Free Languages (DCFLs): This is the exact class of languages accepted by DPDAs.
- Regular Languages: Every regular language can be recognized by a Deterministic Finite Automaton (DFA). Since a DFA is simply a DPDA that does not use its stack, every regular language is also a DCFL. Mathematically, . Therefore, any regular language is accepted by a DPDA.
- Context-Free Languages (CFLs) / Languages accepted by an NPDA: There exist context-free languages (such as the language of even palindromes, ) that are inherently non-deterministic and cannot be accepted by any DPDA. Thus, options B and C are incorrect.
- Decidable Languages: This class includes languages like which are not context-free and require a Turing Machine to be decided. They cannot be accepted by a DPDA. Thus, option D is incorrect.
Hence, the correct option is A.
Free practice · Your answers on this page are not saved.
