Let and denote the classes of languages accepted by non-deterministic finite automata and non-deterministic push-down automata, respectively. Let and denote the classes of languages accepted by deterministic finite automata and deterministic push-down automata respectively. Which one of the following is TRUE?
View worked solution
Answer: D
To determine the correct relationship between the classes of languages, we analyze the expressive power of deterministic and non-deterministic models for both finite automata and pushdown automata:
- Finite Automata ( and ):
Deterministic Finite Automata (DFA) and Non-deterministic Finite Automata (NFA) are equivalent in terms of their language-recognizing power. Every NFA can be converted into an equivalent DFA using the subset construction method. Both models accept the class of Regular Languages.
- Pushdown Automata ( and ):
Deterministic Pushdown Automata (DPDA) accept the class of Deterministic Context-Free Languages (DCFLs), whereas Non-deterministic Pushdown Automata (NPDA) accept the class of all Context-Free Languages (CFLs).
Non-determinism strictly increases the power of pushdown automata. For example, the language of even-length palindromes, , is a CFL but not a DCFL. Thus, DCFLs are a strict subset of CFLs.
Combining these two results, we get:
Therefore, the correct option is D.
Free practice · Your answers on this page are not saved.
