Practice free →
HomeGATE CSEcomputerscienceAlgorithms › The class NP is the set of decision problems for…

The class NP is the set of decision problems for which

Aa proposed answer (certificate) can be verified in polynomial time
Ban answer can be found in polynomial time on any input
Cno polynomial-time algorithm can ever exist
Dthe input size is at most polynomial in the answer
Answer & Solution
Correct answer: A. a proposed answer (certificate) can be verified in polynomial time
NP problems have polynomial-time verifiers, not necessarily polynomial-time solvers. Given a candidate solution (certificate), you can check it quickly. Finding the certificate may still be exponential. The other options describe P (option B), undecidable problems (option C), or unrelated input/answer size relationships.
Solve this in the app — GATE CSE practice & 24k+ MCQs →
Related questions