Don't: Problem
Don't: Problem
Don’t
Do
PROBLEM
SOLVABLE UNSOLVABLE
DECIDABLE UNDECIDABLE
P TYPE NP TYPE
Q Suppose a polynomial time algorithm is discovered that correctly computes the largest
clique in a given graph. In this scenario, which one of the following represents the correct
Venn diagram of the complexity classes P, NP and NP Complete (NPC)? (GATE-2012) (1
Marks)
Q In order to show that a problem is NP-complete, Sachin shows that 3-SAT , Dravid
shows that 2-SAT, from the above reductions, the problem is
a) NP- complete b) NP- complete but not NP-hard
c) NP-hard but not NP- complete d) None of the above
Q Let πA be a problem that belongs to the class NP. Then which one of the following is
TRUE? (GATE-2009) (1 Marks)
a) There is no polynomial time algorithm for πA
b) If πA can be solved deterministically in polynomial time, then P = NP
c) If πA is NP-hard, then it is NP-complete
d) πA may be undecidable
Q Let SHAM3 be the problem of finding a Hamiltonian cycle in 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? (GATE – 2006) (1 Marks)
a) Both DHAM3 and SHAM3 are NP – hard b) SHAM3 is NP – hard, but DHAM3 is not
c) DHAM3 is NP – hard, but SHAM3 is not d) Neither DHAM3 nor SHAM3 is NP – hard
Q Consider three decision problems P1, P2 and P3. It is known that P1 is decidable and P2 is
undecidable. Which one of the following is TRUE? (GATE-2005) (2 Marks)
(A) P3 is decidable if P1 is reducible to P3
(B) P3 is undecidable if P3 is reducible to P2
(C) P3 is undecidable if P2 is reducible to P3
(D) P3 is decidable if P3 is reducible to P2’s complement
Q Let A ≤m B denotes that language A is mapping reducible (also known as many-to-one
reducible) (GATE-2014) (2 Marks)
to language B. Which one of the following is FALSE?
(A) If A ≤m B and B is recursive then A is recursive.
(B) If A ≤m B and A is undecidable then B is undecidable.
(C) If A ≤m B and B is recursively enumerable then A is recursively enumerable.
(D) If A ≤m B and B is not recursively enumerable then A is not recursively enumerable.
Q Ram and Shyam have been asked to show that a certain problem Π is NP-complete. Ram
shows a polynomial time reduction from the 3-SAT problem to Π, and Shyam shows a
polynomial time reduction from Π to 3-SAT. Which of the following can be inferred from
these reductions? (GATE-2003) (2 Marks)
(A) Π is NP-hard but not NP-complete (B) Π is in NP, but is not NP-complete
(C) Π is NP-complete (D) Π is neither NP-hard, nor in NP
Q Consider two decision problems Q1, Q2 such that Q1 reduces in polynomial time to 3-SAT
and 3-SAT reduces in polynomial time to Q2. Then which one of the following is consistent
with the above statement?(CS-2015)
(A) Q1 is in NP, Q2 is NP hard (B) Q2 is in NP, Q1 is NP hard
(C) Both Q1 and Q2 are in NP (D) Both Q1 and Q2 are in NP hard
Q Consider the following two problems on undirected graphs: (GATE – 2005) (1 Marks)
𝜶: Given G (V, E) does G have an independent set of size |V| - 4?
β: Given G(V, E), does G have an independent set of size 5?
Which one of the following is true?
a) 𝛼 is in P and β NP – complete b) 𝛼 is NP – complete in and β is in P
c) Both 𝛼 and β are NP – complete d) Both 𝛼 and β are in P
Q (GATE-2014) (2 Marks)
A)1, 2 and 3
B)1 and 2 only
C)3 and 2 only
D)1 and 3 only