GATE / CS ARCHIVE

GATE CSE 2003 / QUESTION 13

Unknown proposition defining a simple language

Theory of Computation · Decidability & Computability · Full GATE CSE 2003 paper

GATE 2003, Q13 1 mark · MCQ
Report issue

Decidability & Computability

Question 13, GATE 2003: Define L={0,1}* if P=NP, and L=∅ otherwise. Which statement is true? A. L is recursive; B. L is recursively enumerable but not recursive; C. L is not recursively enumerable; D. Its recursiveness can be known only after resolving P=NP.
Question 13, GATE 2003: Define L={0,1}* if P=NP, and L=∅ otherwise. Which statement is true? A. L is recursive; B. L is recursively enumerable but not recursive; C. L is not recursively enumerable; D. Its recursiveness can be known only after resolving P=NP.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. Reason by cases without trying to resolve the open problem. If P=NP, an always-accept machine decides L. Otherwise an always-reject machine decides L. Each possible language has a halting decider, so the uncertainty about which case holds is not noncomputability of L.

2. Regardless of the truth of P=NP, L is either all binary strings or the empty language. Both are regular and recursive, so L is recursive, A. Establishing that some decider exists does not require knowing which of these two particular deciders describes L.

Original paper, page 2