Data and File Structures: (Suggestions)
Data and File Structures: (Suggestions)
Arrays(Block-1, Unit-2)
1. What is a Sparse Matrix? What are the advantages and
disadvantages of Sparse Matrix representation?
2. Define sparse matrix. Write an algorithm that accepts a 6 x 5
sparse matrix and outputs in 3-tuple representation.
3. Write an algorithm for the addition of two Sparse Matrices.
4. Write an algorithm for multiplication of two sparse matrices.
1. Dijkstra’s algorithm
2. Krushkal’s algorithm
3. Prims’s algorithm
4. BFS
5. DFS
Sorting(Block-4, Unit-10)
1. Explain Quick Sort algorithm. Trace the algorithm for the
following set of data :
25, 0, 8, 78, 6, 34, 56, 90, 100