Let be a problem that belongs to the class NP. Then which one of the following is TRUE?
View worked solution
Answer: C
By definition, a problem is NP-complete if and only if it satisfies two conditions:
- is
We are given that belongs to the class . Therefore, if is also , it is by definition . This makes Option C correct.
Analysis of other options:
- Option A is FALSE: Since , any problem in (such as finding the shortest path in a graph) also belongs to and has a polynomial-time algorithm.
- Option B is FALSE: If a problem can be solved in polynomial time, it simply means . This does not imply unless is also .
- Option D is FALSE: Every problem in can be solved by a non-deterministic Turing machine in polynomial time, which implies it is decidable. Thus, no problem in can be undecidable.
Free practice · Your answers on this page are not saved.
