Skip to content
Official PYQ · 2015

GATE CS 2015 Set 2 Q21 — Undecidability

Explain with AI

Consider the following statements.

  1. The complement of every Turing decidable language is Turing decidable
  2. There exists some language which is in NP but is not Turing decidable
  3. If L is a language in NP, L is Turing decidable

Which of the above statements is/are true?

Choose one option
View worked solution

Answer: D

Let us analyze each statement individually:

  • Statement I: The complement of every Turing decidable language is Turing decidable.
    This statement is True. Turing decidable (recursive) languages are closed under complementation. If a language LL is decided by a Turing machine MM (which halts on all inputs), we can construct a Turing machine M′M' that decides the complement L‾\overline{L} by swapping the accepting and rejecting states of MM.
  • Statement III: If LL is a language in NP, LL is Turing decidable.
    This statement is True. The class NP\text{NP} is a subset of the class of Turing decidable (recursive) languages (NP⊆Decidable\text{NP} \subseteq \text{Decidable}). Any language in NP\text{NP} can be decided by a deterministic Turing machine in exponential time by systematically exploring all branches of the non-deterministic computation tree.
  • Statement II: There exists some language which is in NP but is not Turing decidable.
    This statement is False. Since NP⊆Decidable\text{NP} \subseteq \text{Decidable}, every language in NP\text{NP} is guaranteed to be Turing decidable.

Thus, only statements I and III are true, which corresponds to option D.

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

Published
Report a correction
Keep exploringMore Undecidability questions