btech-cse-9-sem-design-and-analysis-of-algorithms-2012
btech-cse-9-sem-design-and-analysis-of-algorithms-2012
com
http://www.makaut.com
Name : ……………………………………………………………
Roll No. : ……………………………………………..…………..
Invigilator’s Signature : ………………………………………..
CS/B.Tech/CSE(O)/SEM-5/CS-503/2012-13
2012
DESIGN AND ANALYSIS OF ALGORITHMS
Time Allotted : 3 Hours Full Marks : 70
GROUP – A
( Multiple Choice Type Questions )
1. Choose the correct alternatives for the following : 10 × 1 = 10
i) Time complexity for recurrence relation T(n) = 2T( n) + 1
is
2
a) " (log n) b) "(n )
c) " (n og n) d) " (n) .
ii) Time comp exity for the Floyd's algorithm to find all
pairs of shortest path of a graph G with V vertices and E
edges using dynamic programming method is
2 2
a) O(V ) b) O(E )
3 3
c) O(V ) d) O(E ) .
iii) Ω-notation provides an asymptotic
a) upper Bound
b) lower Bound
c) one that is sandwiched between the two bounds
d) none of these.
http://www.makaut.com
www.makaut.com
http://www.makaut.com
CS/B.Tech/CSE(O)/SEM-5/CS-503/2012-13
5401(O) 2
http://www.makaut.com
www.makaut.com
http://www.makaut.com
CS/B.Tech/CSE(O)/SEM-5/CS-503/2012-13
GROUP – B
( Short Answer Type Questions )
Answer any three of the following. 3 × 5 = 15
GROUP – C
( Long Answer Type Questions )
Answer any thr e of the following. 3 × 15 = 45
programming :
A ( 10 × 20 ) * B ( 20 × 50 ) * C ( 50 × 1 ) * D ( 1 × 100 )
http://www.makaut.com
www.makaut.com
http://www.makaut.com
CS/B.Tech/CSE(O)/SEM-5/CS-503/2012-13
5401(O) 4
http://www.makaut.com