Skip to main content

GATE CSE 2022Theory of Computation › Decidability, Turing Machines & ComputabilityVerified

GATE CSE 2022 PYQ: Which of the following is/are undecidable?

Which of the following is/are undecidable?

  1. A
    Given two Turing machines M1\textit{M}_{1} and M2,\textit{M}_{2}, decide if L(M1)=L(M2).\textit{L(M}_{1}) = \textit{L(M}_{2}).
    Correct answer
  2. B
    Given a Turing machine M,\textit{M}, decide if L(M)\textit{L(M)} is regular.
    Correct answer
  3. C
    Given a Turing machine M,\textit{M}, decide if M\textit{M} accepts all strings.
    Correct answer
  4. D
    Given a Turing machine M,\textit{M}, decide if M\textit{M} takes more than 1073 steps on every string.

Answer

(A, B, C) Given two Turing machines M 1 \textit{M}_{1} M 1 ​ and M 2 , \textit{M}_{2}, M 2 ​ , decide if L(M 1 ) = L(M 2 ) . \textit{L(M}_{1}) = \textit{L(M}_{2}). L(M 1 ​ ) = L(M 2 ​ ) .; Given a Turing machine M , \textit{M}, M , decide if L(M) \textit{L(M)} L(M) is regular.; Given a Turing machine M , \textit{M}, M , decide if M \textit{M} M accepts all strings.

Approach

Classify each problem as a language property or a machine-step property. Options A, B, C ask about the language of a TM (or equality of two TM languages), so Rice's theorem / standard undecidability results apply. Option D asks about a bounded number of computation steps, which can be decided by finite simulation.

Options A, B, and C are standard undecidable problems about Turing machine languages: TM equivalence, regularity, and universality. Option D is decidable because the bound 1073 limits the relevant computation to finitely many input prefixes and finitely many simulated steps. Therefore the undecidable ones are A, B, and C.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.