GATE / CS ARCHIVE

GATE CSE 2006 / QUESTION 16

Reductions to and from an NP-complete problem

Theory of Computation · Complexity & Reductions · Full GATE CSE 2006 paper

GATE 2006, Q16 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Complexity & Reductions

Question 16, GATE 2006: S is NP-complete. Q and R are problems not initially known to belong to NP. Q is polynomial-time reducible to S and S is polynomial-time reducible to R. Which statement necessarily follows?
Options:
(A) R is NP-complete
(B) R is NP-hard
(C) Q is NP-complete
(D) Q is NP-hard
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

1. Every NP language reduces to S, and S reduces to R, so transitivity makes R NP-hard. R need not belong to NP and therefore need not be NP-complete.

2. Q reducing to S does place Q in NP, but does not make Q NP-hard. Thus B.

3. Teaching check: Reduction direction matters: if A reduces to B, a solver for B can solve A. Thus hardness flows from S toward R. Membership in NP does not automatically flow in that direction, which is why NP-hard is justified but NP-complete is not.

Original paper, page 2