DAA Endsem
DAA Endsem
of Questions : 8]
SEAT No. : TI900`709
P.7621 [Total No. of Pages . 3
l6189)-i41
T.E. (Information Technology)
DESIGN &NANYSIS OF ALGORITHMS
(2019 Pattern) (Semnester 1) (314445A) (Elective.)
Time: 2's Hours) .Mer. Marks : "
Instructions to the andidates:
l) Ansiver Qlor 92, Q3 or 04, 05 or Q6, Q7or 08.
2) Nea diagrans must be drawn wherever necessary;.
3) Figures,fo the right side indicate full marks.
4) Assymé suitable data, if necessary.
0 10 15 20| G0
P 4
J4 |
5 0 9 10
6 13 0 12
|8 8 9 0
b)
End the minimum cost path trom source s t_ihk of the foliowing
multistage graph. [8]
P.T.0.
Q:) a) Write recursive and iterative algorithm for backtracking method. [8]
b) Construct planar graph for foJowing map. Explain how to ind
m -colouring of this planar grapth by using m-colouring Backtracking
algorithm. (9]
OR
04) a) Definehe n-Queen problem and its objective. Explain the rules and
consràlints associated with placing n queens on an n xnchessboard
without attacking each other. [8]
b) Discuss how the backtracking algorithm can be applied to solve the
(EGP
sum of subsets problem. Explain he deciaion space exploration process
with some examples. [9)
20 30 10 11 e E G P O I 0(4
049 1
15 16 4 2 |2023
3 4
19 6 18 o
7 9
16 4 16
OR
[61801-141 2
Prove that Satisfiability problem in NP complete. (8]
07) a)
b)
Discuss the proof for the NPçompleteness of the Vertex Cover
problem. (9)
OR
the complexity çlasses P, NP, NP-complete, and NP-hard.
08) a) Define classes and their significance
Explain the relationships between these
CEGR theory. [9)
in computationalcômplexity
15.248.146.117
b) Prove tha clique problem is NP complete.
[8]
09:39:24
CEGPO10441
2/2023
09/1
|17
U5.248.146.
09:39:24
CEGPO0441
09/|2,2023
|46.1|7
15.248.
3
|6180]-141