Questions: Polynomial-Time Computation and the Class P

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Which of the following correctly describes the class P?

AAll problems that can be solved by a computer program, regardless of runtime
BAll decision problems for which some deterministic Turing machine can produce the answer in time bounded by a polynomial in the input length
CAll problems whose optimal algorithm runs in O(n²) or faster
DAll problems that can be verified quickly once a solution is provided
Question 2 Multiple Choice

A proof that P = NP is discovered. Which consequence would most directly and immediately follow?

AAll currently hard optimization problems would become trivially easy in practice, with no engineering effort
BRSA encryption and elliptic-curve cryptography would be theoretically broken, since their security rests on computational hardness assumptions that require P ≠ NP
CSorting algorithms would become faster because P includes all polynomial-time problems
DEvery algorithm would run in linear time because polynomial time would be equivalent to O(n)
Question 3 True / False

P ⊆ NP: every problem in P is also in NP.

TTrue
FFalse
Question 4 True / False

A problem is in P if a particular well-known algorithm for it runs in polynomial time.

TTrue
FFalse
Question 5 Short Answer

What is the key conceptual shift from algorithm analysis to complexity theory, and why does this reframing matter for classifying problems?

Think about your answer, then reveal below.