Ada Labc
Ada Labc
(Practicals)
(S. No.)
Write a program to multiply two matrices of size n*n and count the total no of
program steps using the count method and plot the graph for how time complexity
varies with the increasing size of matrices, also do an analysis of the actual time
taken to perform the matrix multiplication using time() function.
(Lab-2)
Write a program to find the transpose of the matrix and count the total no of
program steps using the count method and plot the graph for how time complexity
varies with the increasing size of matrices.
मौलाना आज़ाद राष्ट्रीय प्रौद्योगिकी संस्थान, भोपाल – 462003
MAULANA AZAD NATIONAL INSTITUTE OF TECHNOLOGY, BHOPAL – 462003
Write a program to compare Binary search and Ternary search in terms of the number of
(Lab-3)
comparisons done by each. Do this experimentally by plotting a graph and theoretically by
analyzing the Algorithm.
(Lab- Write a program to implement Quick Sort using the median of three pivots.
6)
Write a program to implement Quick Sort using insertion sort ( for n > 4, quick sort
N<= 4, insertion sort)
(Lab-7)
Analyze the improvement in the quick sort algorithm using this modification.(prog
(Lab- 5,6,7)
8)
(Lab-
10)
मौलाना आज़ाद राष्ट्रीय प्रौद्योगिकी संस्थान, भोपाल – 462003
MAULANA AZAD NATIONAL INSTITUTE OF TECHNOLOGY, BHOPAL – 462003
Write a program to implement Prim's method for MST in a graph (E, V) using heaps.
(Lab-12)
(Lab- Write a program to implement to a minimum cost spanning tree of a graph using
13) Kruskal’s algorithm using heaps.
(Lab-
Write a program to implement all pair shortest paths using dynamic programming.
15)
(Lab- Write a program to implement Multi stage graph problem using dynamic
16) programming.