1Which optimization problem is a well-known example of an NP-hard problem?
Examples of NP-hard problems
Easy
A.Traveling Salesperson optimization problem
B.Matrix addition problem
C.Array sorting problem
D.Binary search problem
Correct Answer: Traveling Salesperson optimization problem
Explanation:
Finding the shortest possible tour in the Traveling Salesperson Problem is NP-hard.
Incorrect! Try again.
2What does it mean for a problem to be NP-hard?
Examples of NP-hard problems
Easy
A.It must belong to the class NP
B.It can only have numerical inputs
C.It can always be solved in constant time
D.It is at least as hard as every problem in NP
Correct Answer: It is at least as hard as every problem in NP
Explanation:
An NP-hard problem is at least as difficult as every problem in NP under polynomial-time reductions.
Incorrect! Try again.
3Which statement about NP-hard problems is correct?
Examples of NP-hard problems
Easy
A.They need not be decision problems
B.They must have yes-or-no answers
C.They must belong to both P and NP
D.They must be solvable in polynomial time
Correct Answer: They need not be decision problems
Explanation:
NP-hard problems may be decision, optimization, or even undecidable problems.
Incorrect! Try again.
4Which version of the Knapsack Problem is generally NP-hard?
Examples of NP-hard problems
Easy
A.Counting the number of given items
B.Checking whether the bag is empty
C.Maximizing value under a weight limit
D.Reading the weight of one item
Correct Answer: Maximizing value under a weight limit
Explanation:
The optimization version of Knapsack seeks the maximum value under a capacity constraint and is NP-hard.
Incorrect! Try again.
5Which problem asks for a shortest tour that visits every city exactly once and returns to the start?
Examples of NP-hard problems
Easy
A.Maximum Flow Problem
B.Single-Source Shortest Path Problem
C.Minimum Spanning Tree Problem
D.Traveling Salesperson Problem
Correct Answer: Traveling Salesperson Problem
Explanation:
The Traveling Salesperson Problem seeks a minimum-length round trip through all given cities.
Incorrect! Try again.
6Which problem was the first problem proved to be NP-complete?
Examples of NP-complete problems
Easy
A.Boolean Satisfiability Problem
B.Binary Search Problem
C.Shortest Path Problem
D.Minimum Spanning Tree Problem
Correct Answer: Boolean Satisfiability Problem
Explanation:
The Boolean Satisfiability Problem, commonly called SAT, was the first problem proved NP-complete.
Incorrect! Try again.
7A problem is NP-complete when it is:
Examples of NP-complete problems
Easy
A.In NP but not NP-hard
B.Both in NP and NP-hard
C.NP-hard but outside NP
D.Both in P and undecidable
Correct Answer: Both in NP and NP-hard
Explanation:
An NP-complete problem must belong to NP and also be at least as hard as every problem in NP.
Incorrect! Try again.
8Which graph problem is a well-known NP-complete decision problem?
Examples of NP-complete problems
Easy
A.Depth-First Search
B.Minimum Spanning Tree
C.Breadth-First Search
D.Hamiltonian Cycle
Correct Answer: Hamiltonian Cycle
Explanation:
Determining whether a graph contains a cycle that visits every vertex exactly once is NP-complete.
Incorrect! Try again.
9What does the Clique decision problem ask?
Examples of NP-complete problems
Easy
A.Whether a graph has exactly total edges
B.Whether a graph can be traversed in steps
C.Whether a graph has a clique of size at least
D.Whether every vertex has degree exactly
Correct Answer: Whether a graph has a clique of size at least
Explanation:
The Clique decision problem asks whether at least vertices are all pairwise adjacent.
Incorrect! Try again.
10Which problem asks whether some numbers in a set add up to a specified target?
Examples of NP-complete problems
Easy
A.Graph Coloring Search
B.Matrix Multiplication
C.Subset Sum
D.Maximum Flow
Correct Answer: Subset Sum
Explanation:
Subset Sum asks whether a subset exists whose elements sum to a given target value.
Incorrect! Try again.
11What is the main conclusion of Cook's theorem?
Cook's theorem
Easy
A.SAT is NP-complete
B.SAT is undecidable
C.Every graph is colorable
D.Every problem is in P
Correct Answer: SAT is NP-complete
Explanation:
Cook's theorem established that Boolean satisfiability is NP-complete.
Incorrect! Try again.
12Cook's theorem is primarily associated with which complexity class?
Cook's theorem
Easy
A.L
B.NP
C.Constant time
D.PSPACE only
Correct Answer: NP
Explanation:
Cook's theorem concerns NP and proves that SAT is complete for this complexity class.
Incorrect! Try again.
13According to Cook's theorem, every problem in NP can be reduced in polynomial time to:
Cook's theorem
Easy
A.Merge Sort
B.SAT
C.Binary Search
D.Matrix Addition
Correct Answer: SAT
Explanation:
Cook's theorem shows that every problem in NP has a polynomial-time reduction to SAT.
Incorrect! Try again.
14Who is Cook's theorem named after?
Cook's theorem
Easy
A.Edsger Dijkstra
B.Alan Turing
C.Donald Knuth
D.Stephen Cook
Correct Answer: Stephen Cook
Explanation:
The theorem is named after computer scientist Stephen Cook.
Incorrect! Try again.
15Why is Cook's theorem historically important?
Cook's theorem
Easy
A.It identified the first NP-complete problem
B.It introduced the first sorting algorithm
C.It proved that all problems are decidable
D.It created the binary number system
Correct Answer: It identified the first NP-complete problem
Explanation:
Cook's theorem provided the first proof that a problem, SAT, is NP-complete.
Incorrect! Try again.
16What is the main purpose of a problem reduction?
Problem reduction
Easy
A.To remove every input from a problem
B.To convert an algorithm into hardware
C.To transform one problem into another
D.To guarantee a constant-time solution
Correct Answer: To transform one problem into another
Explanation:
A reduction converts instances of one problem into instances of another while preserving the required answer.
Incorrect! Try again.
17To prove that a new problem is NP-hard, which reduction direction is normally used?
Problem reduction
Easy
A. is reduced to itself repeatedly
B.A known NP-hard problem is reduced to
C.An easy problem is reduced to
D. is reduced to an easy problem
Correct Answer: A known NP-hard problem is reduced to
Explanation:
Reducing a known NP-hard problem to shows that solving would also solve the known hard problem.
Incorrect! Try again.
18What does mean?
Problem reduction
Easy
A. always takes less space than
B. is strictly easier than
C. has fewer inputs than
D. is polynomial-time reducible to
Correct Answer: is polynomial-time reducible to
Explanation:
The notation means instances of can be transformed into instances of in polynomial time.
Incorrect! Try again.
19If and can be solved in polynomial time, what follows?
Problem reduction
Easy
A. cannot be reduced to another problem
B. must be an undecidable problem
C. must be harder than every problem
D. can be solved in polynomial time
Correct Answer: can be solved in polynomial time
Explanation:
Transforming into and then solving gives a polynomial-time method for solving .
Incorrect! Try again.
20What must be efficient in a polynomial-time reduction?
Problem reduction
Easy
A.The physical construction of a computer
B.The transformation between problem instances
C.The storage of every possible solution
D.The manual verification by a programmer
Correct Answer: The transformation between problem instances
Explanation:
A polynomial-time reduction requires the conversion from one problem instance to another to take polynomial time.
Incorrect! Try again.
21Which version of the Traveling Salesperson Problem (TSP) is commonly classified as NP-hard?
Examples of NP-hard problems
Medium
A.Sorting the edge weights
B.Finding a minimum-cost tour
C.Verifying a proposed tour
D.Checking whether a graph is connected
Correct Answer: Finding a minimum-cost tour
Explanation:
The optimization version of TSP asks for the minimum-cost tour and is NP-hard. Its decision version is NP-complete.
Incorrect! Try again.
22Why can an undecidable problem, such as the Halting Problem, be described as NP-hard?
Examples of NP-hard problems
Medium
A.Every problem in NP reduces to it
B.It belongs to NP but not P
C.It has polynomial certificates
D.Every instance halts eventually
Correct Answer: Every problem in NP reduces to it
Explanation:
NP-hardness requires every NP problem to reduce to the target problem; the target itself need not be decidable or belong to NP.
Incorrect! Try again.
23An algorithm returns the size of a maximum clique in a graph. Why is this task NP-hard?
Examples of NP-hard problems
Medium
A.Its certificates cannot be verified
B.It can solve CLIQUE decisions
C.Its output is always exponential
D.It requires enumerating all vertices
Correct Answer: It can solve CLIQUE decisions
Explanation:
If the maximum clique size is known, the CLIQUE decision question is answered by comparing that size with the requested threshold.
Incorrect! Try again.
24Suppose a polynomial-time algorithm computes an optimal solution to every instance of an NP-hard optimization problem. What would follow for its associated NP-complete decision problem?
Examples of NP-hard problems
Medium
A.It would require exponential verification
B.It would be solvable in polynomial time
C.It would leave the class NP
D.It would become undecidable
Correct Answer: It would be solvable in polynomial time
Explanation:
The optimal value can be compared with a threshold to answer the associated decision problem in polynomial time.
Incorrect! Try again.
25Which statement correctly distinguishes an NP-hard problem from an NP-complete problem?
Examples of NP-hard problems
Medium
A.An NP-hard problem must be undecidable
B.An NP-complete problem need not be in NP
C.An NP-complete problem must be an optimization problem
D.An NP-hard problem need not be in NP
Correct Answer: An NP-hard problem need not be in NP
Explanation:
NP-complete problems are both in NP and NP-hard, whereas NP-hard problems are not required to belong to NP.
Incorrect! Try again.
26For the decision version of CLIQUE, what serves as a polynomially verifiable certificate for a yes-instance?
Examples of NP-complete problems
Medium
A.A list of all maximal cliques
B.A set of mutually adjacent vertices
C.A coloring that uses colors
D.A spanning tree with leaves
Correct Answer: A set of mutually adjacent vertices
Explanation:
The certificate lists vertices. A verifier checks in polynomial time that every pair among them is connected by an edge.
Incorrect! Try again.
27Which formulation of Vertex Cover is NP-complete?
Examples of NP-complete problems
Medium
A.Find the minimum possible cover size
B.Count all covers of size exactly
C.Approximate the minimum cover size
D.Does a cover of size at most exist?
Correct Answer: Does a cover of size at most exist?
Explanation:
The decision version asks whether a vertex cover of bounded size exists. It is in NP and is NP-hard.
Incorrect! Try again.
28A SUBSET-SUM instance contains integers and target . Which certificate proves that it is a yes-instance?
Examples of NP-complete problems
Medium
A.The subset
B.The subset
C.The subset
D.The subset
Correct Answer: The subset
Explanation:
The selected values satisfy , and their sum can be verified in polynomial time.
Incorrect! Try again.
29Which additional fact is needed, beyond proving that a problem is NP-hard, to classify it as NP-complete?
Examples of NP-complete problems
Medium
A.Its inputs are encoded using binary digits
B.Its no-instances have constant-size certificates
C.Its yes-certificates are polynomially verifiable
D.Its optimization version has a unique answer
Correct Answer: Its yes-certificates are polynomially verifiable
Explanation:
A problem is NP-complete when it is NP-hard and belongs to NP, meaning yes-instances have polynomially verifiable certificates.
Incorrect! Try again.
30A graph problem asks whether a simple cycle visits every vertex exactly once. Which NP-complete problem is being described?
Examples of NP-complete problems
Medium
A.Single-Source Shortest Path
B.Eulerian Cycle
C.Minimum Spanning Tree
D.Hamiltonian Cycle
Correct Answer: Hamiltonian Cycle
Explanation:
Hamiltonian Cycle asks whether a cycle visits every vertex exactly once and is a classic NP-complete decision problem.
Incorrect! Try again.
31What is the central conclusion of Cook's theorem?
Cook's theorem
Medium
A.SAT is NP-complete
B.Every NP problem is undecidable
C.SAT is solvable in linear time
D.Every Boolean formula is satisfiable
Correct Answer: SAT is NP-complete
Explanation:
Cook's theorem established that SAT belongs to NP and that every problem in NP can be reduced to SAT in polynomial time.
Incorrect! Try again.
32In the proof of Cook's theorem, what does the constructed Boolean formula primarily encode?
Cook's theorem
Medium
A.A deterministic sorting sequence
B.A polynomial computation tableau
C.A formula's complete truth table
D.A graph's minimum spanning tree
Correct Answer: A polynomial computation tableau
Explanation:
The formula encodes configurations and transitions of a polynomial-time nondeterministic computation on the given input.
Incorrect! Try again.
33Why is the SAT problem itself in NP?
Cook's theorem
Medium
A.A truth table has polynomially many rows
B.Every formula has a satisfying assignment
C.A truth assignment can be checked efficiently
D.All formulas can be simplified efficiently
Correct Answer: A truth assignment can be checked efficiently
Explanation:
Given an assignment as a certificate, each clause or connective can be evaluated in polynomial time.
Incorrect! Try again.
34If SAT were shown to have a polynomial-time algorithm, what consequence would Cook's theorem imply?
Cook's theorem
Medium
A.
B.SAT would become undecidable
C.
D. only
Correct Answer:
Explanation:
Every problem in NP reduces to SAT. A polynomial-time SAT algorithm would therefore give polynomial-time algorithms for all NP problems.
Incorrect! Try again.
35Which property ensures that the formula constructed in Cook's theorem has polynomial size?
Cook's theorem
Medium
A.The simulated machine uses no work tape
B.The machine has exactly one accepting path
C.The simulated machine runs for polynomial time
D.The input contains only Boolean variables
Correct Answer: The simulated machine runs for polynomial time
Explanation:
A polynomial time bound limits the number and size of encoded configurations, keeping the resulting formula polynomial in the input size.
Incorrect! Try again.
36Suppose and has a polynomial-time algorithm. What can be concluded about ?
Problem reduction
Medium
A. is necessarily undecidable
B. is harder than
C. is solvable in polynomial time
D. is necessarily NP-complete
Correct Answer: is solvable in polynomial time
Explanation:
Transform an instance of into an instance of in polynomial time, then run the polynomial-time algorithm for .
Incorrect! Try again.
37To prove that a new problem is NP-hard using a known NP-complete problem , which reduction direction is required?
Problem reduction
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Reducing the known hard problem to shows that an efficient solver for could also solve efficiently.
Incorrect! Try again.
38A reduction maps each instance of problem to of problem . Which condition must hold for a valid many-one reduction?
Problem reduction
Medium
A. only when
B. must be shorter than
C. must be an optimal solution
D. exactly when
Correct Answer: exactly when
Explanation:
The transformation must preserve answers: yes-instances map to yes-instances and no-instances map to no-instances.
Incorrect! Try again.
39If and , which conclusion follows from transitivity?
Problem reduction
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Composing the two polynomial-time transformations produces a polynomial-time reduction from to .
Incorrect! Try again.
40A researcher proves , where is NP-complete and is in NP. What classification follows for ?
Problem reduction
Medium
A. is undecidable
B. is in P
C. is NP-complete
D. is co-NP-complete
Correct Answer: is NP-complete
Explanation:
The reduction from NP-complete makes NP-hard, and the given membership of in NP makes it NP-complete.
Incorrect! Try again.
41Suppose and are polynomial-time many-one reductions. Which conclusion follows without any additional complexity assumptions?
Problem reduction
Hard
A. by composing the two reduction functions
B. and must have identical polynomial-time algorithms
C. by reversing the two reduction functions
D. must be NP-complete because it connects both problems
Correct Answer: by composing the two reduction functions
Explanation:
Polynomial-time many-one reductions are transitive. The composition remains polynomial-time because the first reduction produces only polynomially many output bits.
Incorrect! Try again.
42Let be NP-hard and suppose . What is the strongest conclusion that follows solely from these facts?
Problem reduction
Hard
A. is NP-hard
B. belongs to NP
C. belongs to P
D. is NP-complete
Correct Answer: is NP-hard
Explanation:
Every problem in NP reduces to , and reduces to . Transitivity therefore makes NP-hard, but membership of in NP is not guaranteed.
Incorrect! Try again.
43Why is the optimization version of Traveling Salesperson generally called NP-hard rather than NP-complete?
Examples of NP-hard problems
Hard
A.It cannot be reduced from its corresponding threshold decision problem
B.It is undecidable when edge weights are represented in binary
C.It has no polynomially verifiable certificate for any feasible tour
D.It returns an optimal value or tour rather than deciding a language
Correct Answer: It returns an optimal value or tour rather than deciding a language
Explanation:
NP-completeness is conventionally defined for decision languages. Exact TSP optimization is NP-hard because it can solve the NP-complete threshold version.
Incorrect! Try again.
44Which statement most precisely captures Cook's theorem, also called the Cook–Levin theorem?
Cook's theorem
Hard
A.SAT is in NP, and every language in NP polynomial-time reduces to SAT
B.SAT is NP-hard, and every decidable language polynomial-time reduces to SAT
C.SAT is coNP-complete, and every tautology polynomial-time reduces to SAT
D.SAT is in P, and every language in NP nondeterministically reduces to SAT
Correct Answer: SAT is in NP, and every language in NP polynomial-time reduces to SAT
Explanation:
Cook–Levin proves both requirements for NP-completeness: SAT has efficiently verifiable certificates, and every NP computation can be encoded as a polynomial-size satisfiable formula.
Incorrect! Try again.
45A nondeterministic Turing machine runs in time . In the standard Cook–Levin tableau construction, why can its computation be represented by a formula of polynomial size?
Cook's theorem
Hard
A.The tableau stores only the first and final configurations of every branch
B.The tableau has polynomially many cells, and validity is enforced by local constraints
C.The construction deterministically identifies the accepting branch before encoding it
D.The formula replaces each complete branch with one constant-size Boolean variable
Correct Answer: The tableau has polynomially many cells, and validity is enforced by local constraints
Explanation:
A -step computation uses a polynomial-size time-space tableau. Initial, accepting, uniqueness, and local-transition constraints can all be expressed with polynomially many clauses.
Incorrect! Try again.
46In the Cook–Levin reduction, what corresponds to the nondeterministic choices made by the simulated machine?
Cook's theorem
Hard
A.Deterministic preprocessing that computes the machine's accepting branch
B.Truth assignments selecting one valid accepting computation tableau
C.Clause deletions performed after the formula has been generated
D.Universal quantifiers requiring every computation branch to accept
Correct Answer: Truth assignments selecting one valid accepting computation tableau
Explanation:
The formula is satisfiable exactly when some assignment describes an accepting branch. This existential choice mirrors nondeterministic acceptance.
Incorrect! Try again.
47Assume an oracle returns the exact minimum cost of a TSP tour. How can it decide the threshold version asking whether a tour of cost at most exists?
Examples of NP-hard problems
Hard
A.Negate all edge weights and test whether the optimum equals
B.Binary-search over tours ordered lexicographically and compare with
C.Query the optimum once and compare the returned cost with
D.Query every possible tour and accept when one costs at most
Correct Answer: Query the optimum once and compare the returned cost with
Explanation:
The threshold instance is a yes-instance exactly when the optimal tour cost is at most . Thus exact TSP optimization is at least as hard as its NP-complete decision version.
Incorrect! Try again.
48Consider the language . Which classification is correct under polynomial-time many-one reductions?
Examples of NP-hard problems
Hard
A. is NP-hard but not NP-complete
B. is NP-complete but not decidable
C. is in NP but not known to be NP-hard
D. is outside NP and therefore cannot be NP-hard
Correct Answer: is NP-hard but not NP-complete
Explanation:
SAT can be mapped to a machine that halts exactly when the formula is satisfiable, so HALT is NP-hard. HALT is undecidable and therefore not in NP, so it is not NP-complete.
Incorrect! Try again.
49How does changing integer encoding affect the classical SUBSET-SUM decision problem?
The dynamic program is pseudo-polynomial. It is polynomial for unary target , but potentially exponential in the input length when is binary-encoded.
Incorrect! Try again.
50Which classification correctly describes four common restrictions of Boolean satisfiability?
Examples of NP-complete problems
Hard
A.XOR-SAT is NP-complete; 2-SAT, Horn-SAT, and 3-SAT are in P
B.3-SAT is NP-complete; 2-SAT, Horn-SAT, and XOR-SAT are in P
C.Horn-SAT is NP-complete; 2-SAT, 3-SAT, and XOR-SAT are in P
D.2-SAT is NP-complete; 3-SAT, Horn-SAT, and XOR-SAT are in P
Correct Answer: 3-SAT is NP-complete; 2-SAT, Horn-SAT, and XOR-SAT are in P
Explanation:
3-SAT remains NP-complete, whereas 2-SAT uses implication graphs, Horn-SAT uses forward chaining, and XOR-SAT reduces to linear algebra over .
Incorrect! Try again.
51TAUT is coNP-complete. If TAUT were also NP-hard under polynomial-time many-one reductions, what major consequence would follow?
Examples of NP-complete problems
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
If every NP language reduced to TAUT, then every NP language would belong to coNP. Closure under complementation then gives the reverse inclusion, yielding .
Incorrect! Try again.
52Suppose is NP-complete and both and hold. What follows?
Problem reduction
Hard
A. is NP-hard but may lie outside NP
B. is in NP but may fail to be NP-hard
C. is NP-complete
D. is polynomial-time solvable regardless of
Correct Answer: is NP-complete
Explanation:
makes NP-hard. Since and is in NP, a certificate for the reduced instance proves that is also in NP.
Incorrect! Try again.
53What would follow if the strongly NP-complete 3-PARTITION problem had an exact pseudo-polynomial-time algorithm?
Examples of NP-hard problems
Hard
A. only
B.Polynomial solvability only for binary inputs
C.
D.Weak NP-completeness of 3-PARTITION
Correct Answer:
Explanation:
Strong NP-completeness persists even when numerical values are polynomially bounded. Under that restriction, a pseudo-polynomial algorithm becomes polynomial, implying .
Incorrect! Try again.
54For the decision version of HAMILTONIAN-CYCLE, which certificate and verifier establish membership in NP?
Examples of NP-complete problems
Hard
A.A spanning tree of the graph, checked for connectivity and minimum weight
B.A vertex coloring, checked for distinct colors on every incident pair
C.A maximal set of edges, checked only for pairwise vertex disjointness
D.A cyclic ordering of all vertices, checked for uniqueness and required edges
Correct Answer: A cyclic ordering of all vertices, checked for uniqueness and required edges
Explanation:
A certificate lists each vertex exactly once in cyclic order. The verifier checks the ordering and confirms that every consecutive pair, including the last and first, is connected.
Incorrect! Try again.
55Why does the Cook–Levin construction not explicitly enumerate all computation branches of a nondeterministic machine?
Cook's theorem
Hard
A.All nondeterministic machines have only polynomially many computation branches
B.Each nondeterministic transition can be replaced by a deterministic constant
C.A satisfying assignment implicitly chooses one branch through tableau variables
D.The reduction needs to encode only branches that reject the input
Correct Answer: A satisfying assignment implicitly chooses one branch through tableau variables
Explanation:
Enumerating all branches could require exponential space. Instead, polynomially many variables describe one candidate tableau, and satisfiability existentially selects an accepting branch.
Incorrect! Try again.
56A proposed reduction from to maps every yes-instance of to a yes-instance of , but some no-instances of also map to yes-instances of . Why is it invalid as a many-one reduction?
Problem reduction
Hard
A.It violates the requirement that every output instance have equal input length
B.It violates the requirement that be computed by a nondeterministic machine
C.It violates the requirement that all yes-instances map to one fixed instance
D.It violates the required equivalence if and only if
Correct Answer: It violates the required equivalence if and only if
Explanation:
A many-one reduction must preserve both yes- and no-instances. One-directional preservation is insufficient for deciding using a solver for .
Incorrect! Try again.
57Why does the fact that a proposed coloring can be checked efficiently not show that computing the chromatic number belongs to NP?
Examples of NP-hard problems
Hard
A.Proper colorings cannot serve as certificates for threshold decision problems
B.NP classifies decision languages, while computing is a function problem
C.The chromatic number may require exponentially many bits to represent
D.A proposed coloring cannot be checked without enumerating every other coloring
Correct Answer: NP classifies decision languages, while computing is a function problem
Explanation:
The threshold question is a decision problem in NP, but producing the exact value is a function problem. Exact chromatic-number computation is NP-hard.
Incorrect! Try again.
58Which transformation correctly reduces CLIQUE to VERTEX-COVER for a graph with vertices?
Examples of NP-complete problems
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
A size- clique in is a size- independent set in . Its complement is therefore a size- vertex cover in .
Incorrect! Try again.
59In a Cook–Levin tableau, which clauses enforce that a given cell contains exactly one symbol or state marker?
Cook's theorem
Hard
A.Only unit clauses fixing every cell before the computation begins
B.One at-least-one clause together with pairwise at-most-one clauses
C.One at-most-one clause together with pairwise at-least-one clauses
D.Only transition clauses relating the cell to its temporal neighbors
Correct Answer: One at-least-one clause together with pairwise at-most-one clauses
Explanation:
A disjunction ensures that some marker is selected, while pairwise negative clauses prevent two distinct markers from being selected simultaneously.
Incorrect! Try again.
60Suppose is NP-hard under polynomial-time many-one reductions and via a polynomial-time Turing reduction. What can be concluded directly about ?
Problem reduction
Hard
A. is NP-hard under polynomial-time many-one reductions
B. belongs to NP under polynomial-time many-one reductions
C. is NP-complete under polynomial-time Turing reductions
D. is NP-hard under polynomial-time Turing reductions
Correct Answer: is NP-hard under polynomial-time Turing reductions
Explanation:
Composing reductions gives polynomial-time oracle reductions from every NP problem to . A Turing reduction does not necessarily provide the single-instance mapping required for many-one hardness.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →