Question

Which of the following is/are undecidable?

Choose every correct option
Official answer and solution
Official answer
A, B and C
From
Official GATE 2022 answer key

Solution

Apply Rice's theorem to identify undecidable semantic properties versus decidable finite resource-bounded checks.

Evaluating each problem:

  • (A) UNDECIDABLE: Deciding whether two arbitrary Turing machines accept the same language (L(M1)=L(M2)L(M_1) = L(M_2)) is the equivalence problem for TMs, which is undecidable.
  • (B) UNDECIDABLE: By Rice's theorem, any non-trivial semantic property of the language recognized by a Turing machine is undecidable. Regularity of L(M)L(M) is non-trivial (some TMs accept regular languages, while others do not), so it is undecidable.
  • (C) UNDECIDABLE: Deciding whether a TM accepts all strings (L(M)=Σ∗L(M) = \Sigma^*) is the universality problem, which is another non-trivial semantic property and hence undecidable by Rice's theorem.
  • (D) DECIDABLE: If a TM takes more than 107310^{73} steps on every string, it implies that on any string of length greater than 107310^{73}, the input reading alone cannot finish within 107310^{73} steps. Moreover, the number of distinct configurations of MM reachable in 107310^{73} steps on strings of length up to 107310^{73} is finite. Since only a bounded number of execution steps are checked across a finite set of initial tape prefixes, this property can be decided by systematic simulation. Hence (D) is decidable.

Thus, problems (A), (B), and (C) are undecidable.

Final answer

Options (A), (B), (C)

Common trap

Assuming question (D) is undecidable like the halting problem, missing that the step limit is a fixed finite constant.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2022 Computer Science and Information Technology (CS)
Question
46 of 65
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.