DAA April 2022
DAA April 2022
:
P561 [Total No. of Pages : 3
[5840]-102
M.Sc. (Computer Science)
CSUT-112 : DESIGN AND ANALYSIS OF ALGORITHMS
(2019 Pattern) (Semester-I)
Time : 3 Hours] [Max. Marks : 70
Instructions to the candidates:
1) All questions are compulsory
2) Neat diagrams must be drawn wherever necessary.
b) Define
i) Cross edge
[5840]-102 1 P.T.O.
Q3) Explain strassen’s multiplication algorithm. Solve the.
a) Following by using strassen’s multiplication to find matrix Product.
3 1 3 −4
A= −4 2 = B [7]
2 4
b) What is Longest common subsequence. Find LCS of X & Y where
X =< 1,0,0,1,0,1,1,1,0 >
[5]
Y =< 1,1,0,1,0 >
∞ 20 30 10
15 ∞ 16 4
3 5 ∞ 2.
19 6 18 ∞
c) Define 4 queen’s problem. Draw state space tree to Find solution for 4
queen’s problem using backtracking.
ooo
[5840]-102 3