Computer Science EngineeringHard
Which problem was the first to be proved NP-complete (Cook-Levin theorem)?
- A. Boolean satisfiability (SAT)
- B. Travelling salesman
- C. Clique
- D. Vertex cover
Correct answer: A. Boolean satisfiability (SAT)
Cook proved that SAT is NP-complete, and the others were later shown NP-complete by reduction.
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
- The minimal complete DFA over {a, b} for the language ab has how many states?
- The grammar S -> aSa | bSb | a | b | epsilon generates
- An int a[10][20] array is stored in row-major order with base address 1000 and 4-byte elements. The address of a[3][5] is
- Which machine model is equivalent in power to context-free grammars?
- The intersection of a regular language and a context-free language is always
- Compared with a parse tree, an abstract syntax tree