BCA 5- DAA- Preparatory
BCA 5- DAA- Preparatory
SECTION – A
SECTION – B
II. Answer any four questions. Each question carries 6 marks. (4X6=24)
10. Explain the fundamentals of algorithmic problem solving.
11. Write an essay on Asymptotic notations.
12. Derive the Topologically sort of the following graph:
13. Write a program that implements Prim’s algorithm to generate minimum cost spanning
Tree.
14. Write the merge sort algorithm.
15. Find the minimum spanning tree using Kruskal’s algorithm.
SECTION – C
III. Answer any three questions. Each question carries 8 marks. (3X8=24)
16. Explain worst-case, best-case, and average-case efficiencies with a specific example.
17. What are recursive algorithms? Discuss the efficiency of recursive algorithms.
18. Compare BFS and DFS algorithms.
19. Define Binary Tree. Derive the Tree Traversal Algorithms.
20. Implement the Dijkstra’s Algorithm for finding the shortest path from node 0.
**********