June - 2023 MCS-211
June - 2023 MCS-211
June - 2023 MCS-211
om
MASTER OF COMPUTER
u.c
APPLICATIONS
(MCA-NEW)
ur
Term-End Examination
June, 2023
tG
MCS-211 : DESIGN AND ANALYSIS OF
ALGORITHMS
en
Time : 3 Hours Maximum Marks : 100
(Weightage : 70%)
m
the rest.
desirable characteristics ? 5
UA
2
P. T. O.
[2] MCS-211
om
(e) Explain Depth First Search (DFS)
algorithm with an suitable example. 5
u.c
(f) What is Dynamic Programming approach
of problem solving ? Write the steps
involved in dynamic programming. 6
ur
(g) What are Optimization and Decision
problems ? Give an example of each. 5
tG
(h) Design a state space tree for the given
subset sum problem. S = {4, 6, 7, 8}, W = 8.
en
4
2. (a) Explain all the three cases of Master’s
m
n
T n 9T
3
ss
(b) Evaluate :
p x 3x 4 2x 3 5x 7 at x 2
UA
om
example. 6
(b) Explain Quick sort algorithm using divide
and conquer approach. 6
u.c
(c) What are strongly connected components ?
Explain how adjacency matrix and
ur
adjacency list are created for a connected
graph with the help of a suitable diagram.
tG
2+3+3
4. (a) Show the step by step execution of
en
Kruskal’s algorithm for the following
graph : 6
m
ign
ss
A1 30 × 35
A2 35 × 15
IG
A3 15 × 5
P. T. O.
[4] MCS-211
om
5. Write short notes on any four of the following :
4×5=20
u.c
(i) Deterministic vs. Non-deterministic
algorithms
(ii) CLIQUE and vertex cover problem
ur
(iii) Backtracking problem with example
tG
(iv) Bellman-Ford algorithm
(v) Fractional Knapsack problem
en
m
ign
ss
UA
NO
IG
MCS–211