Questions: Complexity Class P: Polynomial Time

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

An algorithm for a decision problem runs in O(n^100) time on inputs of length n. Which of the following is correct?

AThe problem is not in P because n^100 grows too fast to be considered efficient
BThe problem is in P, but this tells us nothing about whether the algorithm is practical
CThe problem is in P and is therefore efficiently solvable for large inputs
DWhether the problem is in P depends on the specific machine model used to run the algorithm
Question 2 Multiple Choice

Why is 'polynomial time' specifically chosen as the defining boundary for class P, rather than a more restrictive class like O(n²) or O(n log n)?

APolynomial time was chosen because most practical algorithms run in quadratic or sub-quadratic time
BThe polynomial boundary is closed under composition and is model-independent: a polynomial of a polynomial is still a polynomial, and all standard computational models agree on it
CPolynomial time was chosen by convention after Cobham's thesis, without strong theoretical justification
DThe boundary corresponds exactly to problems solvable on physical hardware within the age of the universe
Question 3 True / False

A problem in P can usually be solved efficiently in practice, regardless of the degree of the polynomial.

TTrue
FFalse
Question 4 True / False

If a problem is shown to be in P using a multi-tape Turing machine, it is also in P for a single-tape Turing machine.

TTrue
FFalse
Question 5 Short Answer

What is the theoretical significance of P, given that some problems in P (like one running in n^100 time) are completely impractical?

Think about your answer, then reveal below.