FInal DAA QB 1-3
FInal DAA QB 1-3
FInal DAA QB 1-3
VIJAYAWADA-8
ACADEMIC YEAR: 2021-2022
YEAR: III B.TECH Branch: IT
SEMESTER: I
SUBJECT NAME: Design and Analysis of Algorithms (DAA)
Cognitive levels
L1– Remember, L2-Understanding, L3- Applying /Analyzing
Question – Bank
Unit-I
Q.No Question Marks Cognitive level
Define Algorithm and Explain the Characteristics of
1. Algorithm? 10M L1
Unit-II
Q.No Question Marks Cognitive level
Write and explain Binary Search Algorithm with an
example given below Elements are:
1. -15,-6,0,7,9,23,54,82,101,112,125,131,142,151 10M L3
and the search element is 125
6 10M L3
Unit -III
Q.No Question Marks Cognitive level
n=7,max.weight=15, p1=10, p2=5, p3=15,
(P1,p2,p3,p4,p5,p6)=(w1,w2,w3,w4,w5,w6)={100,5
0,20,10,7,3} 10M
L3
3
To find out the optimal solution using Knapsack
problem in Dynamic programming?
T (1) =1,
T (n) =2T (n/2) + n
10M L2
4 Prove that t(n)= O (n log n)
Write a general method algorithm for greedy
method?
T (1) =1,