ADA Index and Sample Output PDF
ADA Index and Sample Output PDF
ADA Index and Sample Output PDF
___________________ Name___________________________
INDEX
Page
List of Practical Date Sign
No.
1: Implement and perform time analysis of following algorithms
2: Implement and perform time analysis of following using divide and conquer
method.
2.1 Binary Search
2.2 Merge Sort
2.3 Quick Sort
Assignments
9000
8000
7000
6000
5000
4000
3000
2000
1000
9000
8000
7000
6000
5000
4000
3000
2000
1000
Case
elements (N) elements (N)
10000
10000
Worst
No. of No. of
comparisons comparisons
No. of No. of
swapping swapping
Selection
Selection
(milliseconds) (milliseconds)
No. of No. of
comparisons comparisons
No. of No. of
swapping swapping
Bubble
Bubble
No. of No. of
comparisons comparisons
No. of No. of
Name___________________________
swapping swapping
Insertion
Insertion
(milliseconds)
(milliseconds)
(milliseconds)
No. of Merge
elements (N)
Partition
Partition
Running
Running
Running
No. of
No. of
No. of
Time
Time
Time
Calls
Calls
Calls
10
15
20
25
30
Consider best case as already sorted array and worst case as reverse sorted array