DAA Lab Syllabus
DAA Lab Syllabus
List of Practical’s:
1. WAP to sort a set of numbers into ascending/ Descending order using different sorting algorithms
and calculate the time complexity by step-count method. Take the input-set from a table and
repeat the operation several times 10,20,30,40 times and plot a graph.
Examine the best case, worst-case and average case by taking suitable input data.
2. WAP for string matching by (i) Naive-string matching method and (ii) Rabin-Karp algorithm and
compare number of operations done in these methods.
3. WAP for string matching using finite Automata method and Knuth-Morris-Pratt Algorithms.
4. WAP to find a number in an array by binary search method.
5. WAP to sort a set of numbers using (i) Merge sort and (ii) Quick-sort using divide and conquer
method.
6. WAP for multiplications of two Matrices using Strassen’s Multiplication Algorithms.
7. WAP to solve Knapsack problem using Greedy Algorithm.
8. WAP to solve Job Sequencing Problem with deadlines using Greedy algorithm.
9. Implement Graph on two-dimensional array and use Greedy method to obtain minimum-cost
spanning tree of the graph.
10. WAP for Matrix-Chain Multiplication using Dynamic programming.
11. WAP to find the Largest Common Subsequence of two sets using Dynamic programming.
12. WAP for optimal binary search of an element in a array using Dynamic programming.
13. WAP for 0/1 Knapsack problem using Dynamic programming.
14. WAP for solution space for 8 Queen Problem and solve the problem using Back-Tracking method.
15. WAP for Sum of subsets problem of a given set using back tracking method.