Skip to content
Official PYQ · 1987

GATE CS 1987 Q2m — Turing Machines

Explain with AI
State whether the following statements are TRUE or FALSE:

The problem as to whether a Turing machine MM accepts input ww is undecidable.
View worked solution

Answer: 1

The given statement is TRUE (represented as 1).

Explanation:

The problem of determining whether a given Turing machine MM accepts a specific input string ww is known as the Acceptance Problem for Turing machines, denoted as:

ATM={⟨M,w⟩∣M is a TM and M accepts w}A_{TM} = \{ \langle M, w \rangle \mid M \text{ is a TM and } M \text{ accepts } w \}

This problem is a classic example of an undecidable problem:

  1. Recursively Enumerable (Turing-Recognizable): ATMA_{TM} is semi-decidable because we can construct a Universal Turing Machine UU that simulates MM on ww. If MM accepts ww, UU will eventually halt and accept. However, if MM loops infinitely on ww, UU will also loop infinitely.
  2. Not Decidable (Not Recursive): If there existed a decider HH that could always halt and correctly answer whether MM accepts ww, we could solve the Halting Problem. By Turing's diagonalization argument, no such decider can exist.

Since no algorithm can decide ATMA_{TM} for all inputs, the problem is undecidable. Thus, the statement is TRUE.

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

Published
Report a correction
Keep exploringMore Turing Machines questions