GATE / CS ARCHIVE

GATE CSE 2011 / QUESTION 8

Determinism and language expressive power

Theory of Computation · Other / Mixed Topics · Full GATE CSE 2011 paper

GATE 2011, Q8 1 mark · MCQ
Report issue

Other / Mixed Topics

Question 8, GATE 2011: Which pair of computational models has DIFFERENT expressive power?

(A) DFA and NFA
(B) Deterministic PDA and nondeterministic PDA
(C) Deterministic single-tape Turing machine and nondeterministic single-tape Turing machine
(D) Single-tape and multitape Turing machines
Tap to enlarge
Your answer
Answer & solution

Official answer: B

DFA and NFA recognize exactly the regular languages. Deterministic/nondeterministic and single/multitape Turing machines recognize the same class, though their efficiencies can differ. DPDAs recognize only deterministic CFLs, a proper subclass of the CFLs recognized by NPDAs. Hence B.

Expressive power asks which languages can be recognized, not how many states are needed or how fast a simulation runs. Subset construction turns an NFA into a DFA, possibly increasing its size. Turing machines can simulate nondeterministic branches by systematic exploration and can simulate extra tapes. A single stack plus deterministic choices is more restrictive: some context-free languages require the nondeterministic choice of how to parse or where to change phases.

Original paper, page 3 · Answer key