Questions: NP-Hardness: Definition and Properties

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A student argues: 'The halting problem is NP-hard, so it must be one of the hardest problems in NP — it's where NP reaches its ceiling.' What is wrong with this reasoning?

AThe halting problem is not NP-hard; it is simply undecidable and has no complexity classification
BNP-hardness means 'at least as hard as everything in NP' — it does not require the problem to be inside NP. The halting problem is NP-hard but also undecidable, placing it far above NP
CNP-hard problems must be in NP by definition — the student is right that it sits at NP's ceiling
DThe halting problem is in P, which makes the NP-hard claim trivially satisfied
Question 2 Multiple Choice

What distinguishes an NP-complete problem from a problem that is NP-hard but not in NP?

ANP-complete problems are strictly harder than NP-hard problems — NP-completeness is a stronger classification
BNP-complete problems are in NP (a proposed solution can be verified in polynomial time); problems that are NP-hard but not in NP may be harder, e.g., undecidable
CNP-complete problems can be solved in polynomial time on a nondeterministic machine; NP-hard problems cannot
DNP-hard problems are reductions of NP-complete problems — they are the easier half of the class
Question 3 True / False

If any single NP-complete problem is shown to have a polynomial-time algorithm, then every problem in NP has a polynomial-time algorithm — P = NP.

TTrue
FFalse
Question 4 True / False

A problem is NP-hard if and only if it is a member of the class NP, making NP-hardness equivalent to NP-membership.

TTrue
FFalse
Question 5 Short Answer

Explain the difference between NP-hardness and NP-membership, and give an example of a problem that is NP-hard but not in NP.

Think about your answer, then reveal below.