Usage Condition:
- π Papers are for reference and study purposes only.
- π§βπ Students should use them responsibly and not for any malpractice.
- π Availability depends on the course and year.
Design and Analysis of Algorithms
Subject Code: 24CAT-611
Semester: 2 | Time: 1 Hour | Max Marks: 20
Section A
(5 Γ 2 = 10 Marks)
- Define the general method of divide and conquer. (CO1 β BT1)
- State greedy choice in the Fractional Knapsack problem. (CO2 β BT2)
- Define minimum spanning tree and write down the time complexity of Primβs algorithm. (CO3 β BT2)
- List the algorithms used to solve the single-source shortest path problem. (CO3 β BT1)
- Mention the typical applications of Huffman Trees in computer science. (CO3 β BT2)
Section B
(2 Γ 5 = 10 Marks)
- Give five differences between max-heaps and min-heaps. (CO3 β BT3)
- Apply the greedy strategy to determine the optimal solution for a fractional knapsack problem. (CO3 β BT3)