Top MCQs on NP Complete Complexity with Answers (original) (raw)

A problem in NP is NP-complete if

Language L1 is polynomial time reducible to language L2. Language L3 is polynomial time reducible to L2, which in turn is polynomial time reducible to language L4. Which of the following is/are True?

I. If L4 ∈ P, L2 ∈ P
II. If L1 ∈ P or L3 ∈ P, then L2 ∈ P
III. L1 ∈ P, if and only if L3 ∈ P
IV. If L4 ∈ P, then L1 ∈ P and L3 ∈ P

Which of the following is an NP-hard problem that can be approximated using a greedy algorithm?

Assuming P != NP, which of the following is true ?
(A) NP-complete = NP

(B) NP-complete [Tex]\\cap [/Tex]P = [Tex]\\Phi [/Tex]

(C) NP-hard = NP

(D) P = NP-complete

Which of the following is true about NP-Complete and NP-Hard problems.

Let SHAM3 be the problem of finding a Hamiltonian cycle in a graph G = (V,E) with V divisible by 3 and DHAM3 be the problem of determining if a Hamiltonian cycle exists in such graphs. Which one of the following is true?

Consider the following two problems of graph. 1) Given a graph, find if the graph has a cycle that visits every vertex exactly once except the first visited vertex which must be visited again to complete the cycle.2) Given a graph, find if the graph has a cycle that visits every edge exactly once. Which of the following is true about above two problems.

Given the following statements: S1 : Every context-sensitive language L is recursive S2 : There exists a recursive language that is not context-sensitive Which statements are true?

The problems 3-SAT and 2-SAT are

For problems X and Y, Y is NP-complete and X reduces to Y in polynomial time. Which of the following is TRUE?

There are 20 questions to complete.

Take a part in the ongoing discussion