Design and Analysis of Algorithm
Design and Analysis of Algorithm
of Printed Pages : 2 1
21BCA5C13DAL
21BCA5C13DAL
SECTION - A
I. Answer all the following sub-questions. Each sub-question carries one mark.
10x1=10
1. (a) Define an algorithm.
SECTION - B
II. Answer any four of the following questions. Each question carries five marks.
4x5=20
2. Write a note on Asymptotic Notations.
!21BCA5C13DAL! P.T.O.
21BCA5C13DAL 2
SECTION - C
III. Answer any three of the following questions. Each question carries ten marks.
3x10=30
8. Write a note on Fundamentals of algorithm problem solving.
10. Apply Greedy technique to solve the following instance of Knapsack problem.
n=4, M=10, W1, W2, W3, W4
={7, 3, 4, 5}
V1, V2, V3, V4={42, 12, 40, 25}
-o0o-
!21BCA5C13DAL!