Computer Science EngineeringVery hard
If any NP-complete problem is shown to have a polynomial-time algorithm, then
- A. P != NP
- B. P = NP
- C. NP = EXPTIME
- D. every NP-hard problem is in P
Correct answer: B. P = NP
Every NP problem reduces in polynomial time to that problem, so all of NP would lie in P.
Practise more Theory of Computation, Compilers & Digital Logic (ISRO CS) questionsTheory of Computation, Compilers & Digital Logic (ISRO CS): notes and key points
More Theory of Computation, Compilers & Digital Logic (ISRO CS) questions
- In a syntax-directed definition, an attribute at a node computed from the attributes of its children is called
- Static links (access links) in activation records are used for
- Tail-call optimization primarily saves
- In Greibach normal form every production has the form A -> a alpha, where alpha is
- A universal Turing machine is able to
- Which computational model recognizes exactly the class of regular languages?