-
Let Nf and Np denote the classes of languages accepted by non-deterministic finite automata and non-deterministic pushdown automata, respectively. Let Df and Dp denote the classes of languages accepted by deterministic finite automata and deterministic push-down automata respectively. Which one of the following is true?
-
- Df ⊂ Nf and Dp ⊂ Np
- Df ⊂ Nf and Dp = Np
- Df = Nf and Dp = Np
- Df = Nf and Dp ⊂ Np
- Df ⊂ Nf and Dp ⊂ Np
Correct Option: D
We know that, the languages accepted by non deterministic finite automata are also accepted by deterministic finite automata. This may not be in the case of context-free languages.
Therefore, Df = Nf and Dp ⊂ Np