DAA Question Bank
DAA Question Bank
SECTION-C [Descriptive Answer Type Questions / Case Study (for MBA COURSES only)]
UNIT-I
S.No. Question COURSE
OUTCOMES
a) Explain the various techniques of designing an algorithm? CO1
b) Write an algorithm to find the factorial of a number and find its CO1
time complexity?
c) What are the general rules followed for writing an algorithm? CO2
d) How to find correctness of algorithm? Explain with an example. CO2
e) Write an algorithm to finding minimum and maximum number in CO3
an array and find its time complexity?
f) Explain backtracking algorithm along with an example. CO3
g) Explain randomised algorithm along with an example. CO4
h) Differentiate between algorithm and pseudocode. CO4
i) Write an algorithm of binary search along with its time CO5
complexity.
j) Explain branch and bound method with example. CO5
UNIT-II
S.No. Question COURSE
OUTCOMES
a) Explain Divide and Conquer Method along with its algorithm? CO1
b) What are the iterative design techniques? CO1
c) Explain greedy algorithm along with its algorithm? CO2
d) Explain the greedy knapsack problem? CO2
e) Explain iterative algorithm design issues? CO3
f) Compare the efficiency of divide and conquer algorithm and CO3
greedy algorithm.
g) Explain in detail any one application of divide and conquer CO4
algorithm?
h) Explain in detail any one application of greedy algorithm? CO4
i) Explain in detail any one application of dynamic algorithm? CO5
j) What does dynamic programming have in common with divide CO5
and conquer?
UNIT-III
S.No. Question COURSE
OUTCOMES
a) Write down the merge sort algorithm along with its worst case, CO1
best case and average case analysis.
b) Write an algorithm to sort the following numbers CO1
28,56,12,67,34,2, 40,23 using quick sort.
c) Write quick sort algorithm and explain. CO2
d) Write insertion sort algorithm and along with its time complexity. CO2
e) Sort the sequence 67,89,35,89,12,32,78. CO3
f) Write bucket sort algorithm and along with its time complexity. CO3
g) Write count sort algorithm and along with its time complexity. CO4
h) Mention some methods for finding the pivot element in quick CO4
sort?
i) Explain five real time applications of merge sort? CO5
j) Explain five real time applications of insertion sort? CO5
UNIT-IV
S.No. Question COURSE
OUTCOMES
a) Explain the properties of red black trees? CO1
b) Write the steps for inserting the numbers 15,17,90,56,23,12 in red CO1
black tree?
c) What are the rules for creating red black trees? CO2
d) Write an algorithm for searching in red black tree? CO2
e) Write an algorithm for searching in decision tree? CO3
f) Explain the different methods for doing amortised analysis? CO3
g) Compare the efficiency of red black tree and decision tree? CO4
h) Write an algorithm for doing amortised analysis? CO4
i) Explain the decision tree algorithm with an example. CO5
j) Explain the various lower bounding techniques. CO5
UNIT-V
S.No. Question COURSE
OUTCOMES
a) What are the advantages, disadvantages and applications of CO1
graph?
b) Explain Kruskal’s minimum cost spanning tree algorithm? CO1
c) Explain an algorithm for generating minimum cost spanning CO2
tree.
d) Explain DFS with suitable example. CO2
e) Explain BFS with suitable example CO3
f) Explain spanning trees with suitable example CO3
g) Write a detailed note on KMP algorithm and discuss its CO4
complexity.
h) Write an algorithm of BFS also find its time complexity. CO4
i) Write an algorithm of DFS also find its time complexity. CO5
j) Explain Prim’s minimum cost spanning tree algorithm? CO5