Multiple Choice
Which of the following statements are TRUE?
(1) The problem of determining whether there exists a cycle in an undirected graph is in P.
(2) The problem of determining whether there exists a cycle in an undirected graph is in NP.
(3) If a problem A is NP-Complete, there exists a non-deterministic polynomial time algorithm to solve A.
A) 1, 2 and 3
B) 1 and 2 only
C) 2 and 3 only
D) 1 and 3 only
Correct Answer:

Verified
Correct Answer:
Verified
Q15: Two persons X and Y have been
Q16: Which one of the following is not
Q17: Choose the incorrect statement.<br>A)A Mealy machine generates
Q18: The problem 3-SAT and 2-SAT are<br>A)Both in
Q19: Context free grammar is used for-<br>A)Lexical analyzer<br>B)Document
Q20: 3-SAT and 2-SAT problems are<br>A)NP-complete and in
Q21: Choose the incorrect statement:<br>A)(a+b)aa(a+b)generates Regular language.<br>B)A language
Q22: Consider three problems P1, P2 and P3.
Q23: Which one of the following is the
Q25: The set strings of 0's and 1's