Skip to content
Official PYQ · 2026

GATE CS 2026 Set 2 Q3 — Turing Machines

Explain with AI

Which one of the following statements is equivalent to the following assertion?
Turing machine MM decides the language L⊆{0,1}∗L \subseteq\{0,1\}^{*}

Choose one option
View worked solution

Answer: D

By definition, a Turing machine MM decides a language L⊆Σ∗L \subseteq \Sigma^* if and only if it halts on all inputs w∈Σ∗w \in \Sigma^* such that:

  • If w∈Lw \in L, MM halts and accepts ww.
  • If w∉Lw \notin L (i.e., w∈Σ∗−Lw \in \Sigma^* - L), MM halts and rejects ww.

Let us analyze the given options based on this definition for Σ={0,1}\Sigma = \{0,1\}:

  • Option A: States only that MM halts on all inputs. While this is a necessary property of a decider, it does not specify which strings are accepted or rejected to define the language LL.
  • Option B: Only specifies the behavior for strings in LL. A machine that accepts all strings in LL but loops infinitely on strings not in LL merely recognizes (semi-decides) LL, but does not decide it.
  • Option C: Only specifies the behavior for strings not in LL.
  • Option D: Correctly combines both requirements: MM must accept every string in LL and reject every string in {0,1}∗−L\{0,1\}^* - L. This is equivalent to the assertion that MM decides LL.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Turing Machines questions