GATE / CS ARCHIVE

GATE CSE 2005 / QUESTION 54

Determinism in finite and pushdown automata

Theory of Computation · Pushdown Automata · Full GATE CSE 2005 paper

GATE 2005, Q54 2 marks · MCQ
Report issue

Pushdown Automata

Question 54, GATE 2005: Let Df, Nf, Dp, Np denote languages accepted by deterministic finite, nondeterministic finite, deterministic pushdown and nondeterministic pushdown automata. Determine the equality/proper-inclusion relationships. The intended option D is Df=Nf and Dp properly contained in Np. Other options: A both inclusions proper; B Df proper subset Nf and Dp=Np; C both pairs equal.
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

Subset construction converts any NFA into a DFA, so Df=Nf. A DPDA is a restricted NPDA, and the inclusion Dp⊊Np is strict, for example unmarked even palindromes require nondeterministic midpoint choice. Thus D. The printed subset symbol is interpreted as proper inclusion.

For finite automata, a DFA state can represent the full subset of possible NFA states after each prefix, so nondeterminism does not increase language expressive power. For pushdown automata, deterministic computation cannot generally guess an unmarked midpoint while preserving the necessary stack comparison. Every deterministic machine is a special nondeterministic one, but some CFLs such as unmarked even palindromes are not deterministic CFLs. Hence the first pair is equal and the second inclusion is strict.

Original paper, page 7