5th Sem March-April 2024 Design and Analysis of Algorithms
5th Sem March-April 2024 Design and Analysis of Algorithms
47921/E0210
Reg. No.
VSemester B.C.A. 6(NEP) Degre Examination, March/April - 2024
DESIGN AND ANALYSIs OF ALGORITIMS
(Regular)
Time:2 Hours Maximum Marks : 60
Instructions to Candidates:
[P.T.O.
(2)
47921/E0210
Answer any FOUR from the
SECTION-B
following questions. Each question carries S marks.
(4x5=20)
13. Explain characteristics ofAlgorithm.
14. Explain 9(theta ), big '0' e (omega) Notations with examples.
15. Write algorithm for quick sort:
16. Explain basic tree traversal techniques. Write algorithm for them.
17. Write pseudocode for Dijkstra's Algorithm.
SECTION -C
Answer any TWO of the following questions. Each question carries 10 marks.
(2x10=20)
18. Explain Brute force method Mention its Applications. Solve selection sort for the following
Numbers 9,1,8,2,7,3,6,4,5
19. a) Explain travelling salesman problem. (5)
b) Discuss knapsack problem using greedy method. (5)
20. a) Explain divide-and-conquer. Write pseudocode (5)
b) Explain Kruskal's Algorithm with example. (5)