BCS 503 DAA Assignment 3
BCS 503 DAA Assignment 3
Q. No. Question CO
Define principle of optimality.
1. CO-3
What are single source shortest paths? Write down Dijkstra’s algorithm for it.
2. CO-3
Explain “greedy algorithm” Write its pseudo code to prove that fractional
3. CO-3
Knapsack problem has a greedy-choice property.
Write down the Bellman Ford algorithm to solve the single source shortest
4. CO-3
path problem also write its time complexity.
What do you mean by convex hull? CO-3
5.
Explain Searching technique using divide and conquer approach.
6. CO-3
What is advantage of binary search over linear search? Also state limitations of
7. CO-3
Binary search.
Define feasible and optimal solution.
8. CO-3
Give comparison between Prim’s and Kruskal’s algorithm.
9. CO-3
Give various applications of divide and conquer.
10. CO-3