Document From
Document From
Registration No :
109
Total
109
Number of 109
Pages : 02 109 109 109 109
B.Tech. 109
PCS4I102
4th Semester Regular / Back Examination 2017-18
DESIGN & ANALYSIS OF ALGORITHMS
BRANCH : CSE
Time : 3 Hours
Max Marks : 100
Q.CODE : C893
109 109 Answer
109 Part-A which
109 is compulsory
109 and any four
109 from Part-B. 109 109
Q5 a) Given the 10 activities along with their start and finish time as (10)
109 109
Si = <1, 2,1093, 4, 7, 8, 9, 11,10912> 109 109 109 109
Q6 a) Define all pairs shortest path problem. Discuss the solution of this problem (5)
basing on dynamic programming
b) Determine LCS of <1, 0, 0, 1, 0, 1, 0, 1> and <0, 1, 0, 1, 1, 0, 1, 1,1 1, 0> (10)
109 109 109 109 109 109 109 109
Q7 a) Describe the Krushkal’s algorithm for MST with an example. (10)
b) What is a branch and bound technique? How the TSP can be solved using (5)
this technique?
Q8 a) What is the backtracking? Give the solution for the 8 queen’s problem. (10)
b) Differentiate between NP-Complete and NP-hard problems. (5)
a) Approximation Algorithm
b) Amortized Analysis
c) Disjoint-set Operations
d) Rabin-Karp algorithm