GATE Computer ScienceHardGATE CS

For a Turing machine M (given by its encoding ⟨M⟩) consider these sets: I. { ⟨M⟩ : M has at least 481 states } II. { ⟨M⟩ : L(M) contains at least 481 strings } III. { ⟨M⟩ : M halts on input ε within 481 steps } IV. { ⟨M⟩ : L(M) = ∅ } Which of these sets are decidable?

  1. A. III and IV only
  2. B. I, II and III only
  3. C. I and III only
  4. D. I and IV only

Correct answer: C. I and III only

I is a purely syntactic property of the description, and III can be settled by simulating exactly 481 steps. II and IV are non-trivial properties of L(M), so Rice's theorem makes them undecidable (II is semi-decidable, IV is not).

More Theory of Computation questions

Exams that ask this topic