Adsaa DS Mid-2
Adsaa DS Mid-2
TECHNOLOGY
(AUTONOMOUS)
Vidya Nagar, Proddatur, YSR Dist, A.P – 516360
II B.Tech I Semester (R23) MID–II Examinations, August– 2024
(23E05301T) ADVANCED DATA STRUCTURES& ALGORITHM ANALYSIS
( CSE-DS )
Date: 13/11/2024(FN) Time: 120 Minutes Max.Marks:25
PART-A
Answer the following (5 X 2 =10M)
(Compulsory Question)
Q.N Course Bloom’
Question Marks
o Outcome s Level
How does the partitioning process work in Quick
a) CO3 K1 2
sort?
What is the fractional knapsack problem and how
b) CO3 K2 2
does the greedy approach solve it?
1 What does the travelling sales person problem aim to
c) CO4 K2 2
achieve?
How does backtracking solve the 8-Queens
d) CO4 K1 2
Problem?
What is the role of bounding in solving the TSP
e) CO5 K2 2
using branch and bound?
PART-B
(Answer all the questions: 3 X 10 =30M).
Q.N Course Bloom’s
Question Marks
o Outcome Level
What are the main steps involved in the divide and
2 conquer approach? Describe the partitioning process CO3 K5 10
in Quick sort? How does it help in sorting the array?
(OR)
Describe the job sequencing problem with deadlines
and how the greedy method can be applied to solve it.
3 CO3 K5 10
Provide an example and discuss the conditions under
which the greedy solution is optimal.