Skip to content
Official PYQ · 2022

GATE CS 2022 Q36 — Turing Machines

Explain with AI

Which of the following is/are undecidable?

Select all correct options
View worked solution

Answer: A;B;C

To determine which of the options are undecidable, we can analyze them using Rice's Theorem and computability theory:

  • Option A: Deciding if L(M1)=L(M2)L(M_1) = L(M_2) is the equivalence problem for Turing machines, which is a well-known undecidable problem.
  • Option B: "L(M)L(M) is regular" is a non-trivial semantic property of recursively enumerable languages. By Rice's Theorem, this property is undecidable.
  • Option C: "L(M)=Σ∗L(M) = \Sigma^*" (accepts all strings) is also a non-trivial semantic property of recursively enumerable languages. By Rice's Theorem, this is undecidable.
  • Option D: Deciding if MM takes more than 10731073 steps on every string is decidable. In 10731073 steps, a Turing machine can scan at most the first 10731073 symbols of any input string. Since the alphabet Σ\Sigma is finite, there are only finitely many input prefixes of length ≤1073\le 1073. We can simulate MM on all these finite prefixes for up to 10741074 steps to determine if it ever halts in ≤1073\le 1073 steps. Thus, this property is decidable.

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

Published
Report a correction
Keep exploringMore Turing Machines questions