GATE / CS ARCHIVE

GATE CSE 2015 SET 2 / QUESTION 26

GATE CSE 2015 Set 2 Q26

Theory of Computation · Complexity & Reductions · Full GATE CSE 2015 Set 2 paper

GATE 2015 Set 2, Q26 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Complexity & Reductions

Question 26, GATE 2015: Q1≤p3-SAT≤pQ2. Which is “consistent” with this? A Q1 in NP, Q2 NP-hard; B Q2 in NP, Q1 NP-hard; C both in NP; D both NP-hard. Official choice interprets the question as what is necessarily implied.
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Our answer: A is guaranteed; all choices can be consistent

A polynomial reduction Q1≤p3-SAT implies Q1∈NP, by composing the reduction with a 3-SAT verifier. The reduction 3-SAT≤pQ2 makes Q2 NP-hard. Thus A is necessarily implied. The literal word consistent is weaker: taking Q1=Q2=3-SAT satisfies all four options simultaneously. The key A requires reading the question as asking what is guaranteed, not merely possible.

A reduction from Q1 to 3-SAT converts a Q1 instance in polynomial time and lets an NP verifier check the resulting formula certificate, so Q1 belongs to NP. A reduction in the other direction from an NP-complete problem to Q2 shows Q2 is at least as hard as every NP problem, so it is NP-hard; it need not belong to NP. These are directional implications, not equivalence. Literal consistency is weaker than logical entailment: choosing both problems equal to 3-SAT makes every listed classification possible, which is why the source wording is explicitly qualified.

Original paper, page 34 · Answer key