Back to the 2023 paper

Module 4: Tractable and Intractable Problems

20232m

What is the relationship between NP and P complexity classes?
(i) P is a subset of NP
(ii) NP is a subset of P
(iii) P and NP are equivalent
(iv) P and NP are disjoint sets

Worked SolutionAI Assisted

Answer: (i) PP is a subset of NPNP

Explanation:

  • P⊆NPP \subseteq NP and it is unknown whether P=NPP = NP (Clay Millennium problem).
  • Every problem solvable in polytime (P) is also verifiable in polytime (NP) — just solve and check.
  • Converse NP⊆PNP \subseteq P would imply P=NPP=NP, unproven.
  • PP and NPNP are not disjoint; P∩NP=PP \cap NP = P.

Venn: P⊆NPP \subseteq NP, NPNP-Complete ⊂NP\subset NP, NPNP-Hard ⊇ NPNP-Complete (some outside NPNP).

Correct choice: (i)

Similar questions

Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.