DAA-Practical List
DAA-Practical List
Information Technology
CO2 demonstrate various problems on divide and conquer, greedy and dynamic programming.
CO3 compute the time and space requirements for various algorithms and represent it using various
mathematical notations and recurrence relations.
CO4 analyse the performance of the algorithms for the best, average and worst case.
CO5 develop various algorithms for the same problem using different classes of problems.
List of Experiments
Sr. No Experiments CO
Mapping
1 Implement a function for each of the following problems and count the number of steps 1,2,3
executed/Time taken by each function on various inputs and write complexity of each function. Also
draw a comparative chart. In each of the following functions N will be passed by user.
2 Implement functions to print nth Fibonacci number using iteration and recursive methods. Compare 1,2
the performance of two methods by counting the number of steps executed on various inputs. Also
draw a comparative chart. (Fibonacci series 1, 1, 2, 3, 5, 8….. Here 8 is the 6th Fibonacci number)
3 Write user defined functions for the following sorting methods and compare their performance by 2,3,4
time measurement with random data and Sorted data.
1. Selection Sort
2. Bubble Sort
3. Insertion Sort
4. Merge Sort
5. Quick Sort
4 Implement a function of Sequential Search & Binary Search and count the steps executed by function 4,5
on various inputs for best case and worst case. Also write complexity in each case and draw a
comparative chart.
6 Implement Program for fractional knapsack using Greedy design technique. 3, 4,5
7 Implement Program for “Making Change” using Greedy design technique. 2,4
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2 PSO3
CO1 3 2 2 2 1 0 1 0 2 0 2 2 2 2 2
CO2 3 3 2 2 3 0 2 0 2 0 2 2 3 2 2
CO3 3 3 3 2 2 0 3 0 3 0 2 2 3 2 2
CO4 3 3 2 2 2 0 2 0 2 0 2 2 2 2 2
CO5 3 3 2 2 2 0 2 0 2 0 2 2 2 2 2