Questions: Nondeterministic Polynomial Time and NP

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A student argues: 'NP uses nondeterministic machines, so NP problems can be solved efficiently using randomized algorithms or massively parallel computers.' What is wrong with this claim?

ARandomized algorithms are strictly more powerful than nondeterministic machines, so they could solve NP problems but this hasn't been proven yet
BNondeterminism in NTMs is a theoretical abstraction — it means an oracle-like ability to 'guess' the right path, not a model of randomization or parallelism that can be physically realized in polynomial time
CParallel computers can solve NP problems in polynomial time, which is why P = NP is expected to be true
DThe claim is essentially correct; randomized polynomial-time algorithms (BPP) are known to equal NP
Question 2 Multiple Choice

Which of the following best captures why so many natural computational problems — scheduling, graph coloring, integer programming — fall into NP?

AThese problems are all provably unsolvable in polynomial time, placing them naturally above P
BThese problems all have exponential state spaces, requiring brute-force search
CThese problems all have the structure 'does a solution exist satisfying these constraints?' — whenever a solution exists, it serves as a short, efficiently verifiable certificate
DThese problems require nondeterministic hardware to solve efficiently
Question 3 True / False

A language L is in P if and only if it is also in NP, since every deterministic polynomial-time algorithm can be viewed as a degenerate nondeterministic one.

TTrue
FFalse
Question 4 True / False

If a problem is in NP, it should be computationally hard — that is, it cannot be solved by any polynomial-time deterministic algorithm.

TTrue
FFalse
Question 5 Short Answer

Explain what the certificate/verifier definition of NP reveals about why optimization and constraint-satisfaction problems fit so naturally into NP, using a specific example.

Think about your answer, then reveal below.