GATE Computer ScienceHardGATE CS (PYQ pattern)

Let TOTAL = { ⟨M⟩ : the Turing machine M halts on every input }. Which statement about TOTAL is correct?

  1. A. TOTAL is decidable
  2. B. TOTAL is recursively enumerable but not decidable
  3. C. The complement of TOTAL is recursively enumerable but TOTAL is not
  4. D. Neither TOTAL nor its complement is recursively enumerable

Correct answer: D. Neither TOTAL nor its complement is recursively enumerable

Both TOTAL and its complement can be reduced from non-RE problems, so neither is RE: one cannot even semi-decide totality, because that needs checking infinitely many inputs.

More Theory of Computation questions

Exams that ask this topic