GATE CS 2026 Set 2 | Question 13

Theory of Computation › Undecidability · MCQ · 1 mark · Answer: D

  1. Question 13Theory of Computationmcq1 mark
    Which one of the following statements is equivalent to the following assertion? Turing machine decides the language
    • A.
      Turing machine halts on all input strings in
    • B.
      Turing machine accepts all input strings in
    • C.
      Turing machine rejects all input strings in
    • D.
      Turing machine accepts all input strings in and rejects all input strings in
      ✓

    Answer: D

    Solution

    Answer: (D) A TM decides iff it is a total machine that halts on every input, accepting exactly the strings in and rejecting exactly the strings not in . Only option (D) captures both the accept and the reject requirement (and thus halting on all inputs).

More GATE PYQ on Undecidability

All GATE CS Theory of Computation PYQ →

Attempt GATE CS 2026 Set 2 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →