2026 Design and Analysis of Algorithms Question Paper
MCA 2nd Semester Design and Analysis of Algorithm • MPC Autonomous College, Takhatpur, Baripada
- Course
- MCA
- Semester
- Semester 2
- Year
- 2026
- Exam Type
- Regular
MCA 2nd Semester Design and Analysis of Algorithm • MPC Autonomous College, Takhatpur, Baripada
Transcribed questions for Design and Analysis of Algorithms (MCA, Regular 2026) including all sections, choices, marks, equations, and diagrams.
(a) Discuss the asymptotic analysis of algorithms. Explain Big-O, Big-, Big-, small-o and small- notations with suitable examples. Solve the recurrence relation using the Master Method and analyze the time complexity.
(b) Explain the Merge Sort algorithm. Trace the execution of Merge Sort on the following array and determine the total number of comparisons made: 38, 27, 43, 3, 9, 82, 10.
(c) Describe the Disjoint Set Forest data structure. Explain Union by Rank and Path Compression with suitable examples. [7.5 Marks]
(a) What is Dynamic Programming? Construct the cost table and compute the minimum number of scalar multiplications for the following matrices. What is the time complexity to find the order of matrix chain multiplication and what is the time complexity to multiply two matrices?
M1(10 × 30), M2(30 × 5), M3(5 × 60), M4(60 × 20)
(b) Find the Longest Common Subsequence (LCS) of sequences and . Construct the DP table and determine the LCS.
(c) Construct the Huffman Tree for the following symbols: [7.5 Marks]
| Symbol | A | B | C | D | E | F |
|---|---|---|---|---|---|---|
| Frequency | 5 | 9 | 12 | 13 | 16 | 45 |
(a) Explain the concept of Minimum Spanning Tree (MST). Discuss Kruskal's algorithm with a suitable example.
(b) Describe the Ford-Fulkerson algorithm for computing the maximum flow in a flow network. Illustrate the algorithm with an example.
(c) What is the Bellman-Ford algorithm for finding single source shortest paths? Write its applications and limitations. [7.5 Marks]
(a) Explain the complexity classes P, NP, NP-Hard and NP-Complete.
(b) Explain the Rabin-Karp string matching algorithm. Discuss its working principle and time complexity with an example.
(c) Discuss why approximation algorithms are required for NP-hard optimization problems. [7.5 Marks]