Questions: Nondeterministic Time Complexity and NP

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A computer science student claims: 'Graph coloring must be an exponential-time problem — it's in NP, after all.' What is wrong with this reasoning?

AGraph coloring is not in NP because its certificate cannot be verified in polynomial time
BNP does not mean non-polynomial time; it stands for nondeterministic polynomial, and since P ⊆ NP, some NP problems may well be solvable in polynomial time
CGraph coloring is in co-NP, not NP, so the student has misclassified it
DThe student is correct — all NP problems require exponential time in the worst case
Question 2 Multiple Choice

For the Boolean satisfiability (SAT) problem, what would serve as a valid certificate that a specific formula is satisfiable?

AA proof that no variable assignment satisfies the formula
BA listing of all 2ⁿ possible variable assignments
CA specific variable assignment that makes the formula evaluate to true
DA polynomial-time algorithm that generates satisfying assignments
Question 3 True / False

The fact that a problem's solution can be verified in polynomial time proves that the problem can seldom be solved in polynomial time.

TTrue
FFalse
Question 4 True / False

Every problem in P is also in NP, because a polynomial-time solution can itself serve as a polynomial-time certificate verification.

TTrue
FFalse
Question 5 Short Answer

Explain the certificate-verifier definition of NP in your own words, using a concrete example to illustrate.

Think about your answer, then reveal below.