Back to the 2025 paper

Module 4: Tractable and Intractable Problems

20252m

Which complexity class contains problems for which a given solution can be verified in polynomial time by a deterministic Turing machine?

(i) Class P
(ii) Class NP
(iii) Class NP-Hard
(iv) Class Undecidable

Worked SolutionAI Assisted

Answer: (ii) Class NP

Explanation:

  • P: problems solvable in polynomial time by a deterministic TM.
  • NP: problems where a proposed solution (certificate) can be verified in polynomial time by a deterministic TM (equivalently, solvable in polynomial time by a non-deterministic TM). P⊆NPP \subseteq NP.
  • NP-Hard: at least as hard as any NP problem (every NP problem reduces to it); may not be in NP.
  • NP-Complete = NP ∩\cap NP-Hard.
  • Undecidable: no TM can solve all instances.

The definition "verifiable in polynomial time by deterministic TM" is exactly NP.

Correct choice: (ii) Class NP

Similar questions

Student FinanceWeb Platform

Pocketly — Personal Finance for Students

Keep your hostel and college expenses under control. Track accounts, log spending in seconds, and stay within your monthly budget.