GATE Computer ScienceHardGATE CSE

For a Turing machine M given as input, how many of these properties are undecidable? (a) L(M) = ∅ (b) M has at least 5 states (c) L(M) contains at least two strings (d) M halts on the input 01 within 100 steps

  1. A. 1
  2. B. 3
  3. C. 2
  4. D. 4

Correct answer: C. 2

(a) and (c) are non-trivial properties of L(M), undecidable by Rice's theorem. (b) is read off the description and (d) is decided by simulating 100 steps.

More Theory of Computation questions

Exams that ask this topic