Ada Assignment
Ada Assignment
6 Design an algorithm for Quick Sort to sort the input list. Discuss the PO2 CO2
best- case, worst -case and average- case efficiency of an algorithm.
8 Define Topological Sorting. Illustrate the Topological Sorting for the PO2 CO2
graph using DFS method
9 Discuss Decrease and Conquer technique. Explain Insertion Sort with PO2 CO2
an example.
10 Define Exhaustive Search. Solve the Knapsack problem for the PO2 CO1
following data with knapsack capacity W= 16
Item I1 I2 I3 I4
Value 2 5 10 5
Weight 20 30 50 10
11 Design an algorithm for Merge Sort to sort the input list. Discuss the PO2 CO2
best- case, worst -case and average- case efficiency of an algorithm.
Trace for the input list
4 9 0 -1 6 8 9 2 3 12
12 Explain the Brute Force String Matching and trace for the input PO2 CO1
TEXT: NOBODY NOTICED HIM
PATTERN : NOT
13 Apply Strassen’s Multiplication to multiply the matrices. Show the PO2 CO2
details of computation