AUTHENTIC EXAMINATION ARCHIVE

2025 Design and Analysis of Algorithms Question Paper

MCA 2nd Semester Design and Analysis of Algorithms • MPC Autonomous College, Takhatpur, Baripada

Course
MCA
Semester
Semester 2
Year
2025
Exam Type
Regular

Original Examination Scans (2)

Verified Pages
2025 Design and Analysis of Algorithms question paper page 1, MPC Autonomous College, Baripada
Page 1: Design and Analysis of Algorithms (2025)
2025 Design and Analysis of Algorithms question paper page 2, MPC Autonomous College, Baripada
Page 2: Design and Analysis of Algorithms (2025)

Design and Analysis of Algorithms (CA-2.4) 2025 Questions

Transcribed questions for Design and Analysis of Algorithms (MCA, Regular 2025) including all sections, choices, marks, equations, and diagrams.

Design and Analysis of Algorithms (CA-204): Examination Questions

Q.1 [15 Marks]

(a) Explain the divide and conquer approach with an example. Analyze its algorithmic paradigm and recurrence relations.

OR
  1. Solve the recurrence relation for merge sort using the Master Method. [7.5 Marks]
  2. Explain asymptotic notations () with mathematical definitions and graphical plots. [7.5 Marks]
Q.2 [15 Marks]

(a) Solve the Matrix Chain Multiplication problem for the matrices , , and . Construct the dynamic programming cost table and split table , showing all intermediate calculation steps.

OR
  1. Write the step-by-step procedure for Huffman coding for the word "MISSISSIPPI". Construct the frequency table, binary Huffman tree, and variable-length prefix codes. [7.5 Marks]
  2. Explain the Activity Selection problem using the Greedy method. Prove the greedy-choice property. [7.5 Marks]
Q.3 [15 Marks]

(a) Find the Minimum Spanning Tree (MST) of the following weighted undirected graph using Kruskal's algorithm. Show each edge chosen in order and verify acyclicity:

A B C D E w=4 w=2 w=3 w=5 w=1 w=6
Figure: Weighted graph for Kruskal's Minimum Spanning Tree execution
OR
  1. Solve single-source shortest path problem using Dijkstra's algorithm. Show distance updates and relaxation steps. [7.5 Marks]
  2. Write a short note on Ford-Fulkerson method for maximum flow in a flow network. [7.5 Marks]
Q.4 [15 Marks]

(a) Explain the Rabin-Karp algorithm for string matching with an example. Explain hash value rolling and modulo arithmetic.

OR
  1. Write a note on Travelling Salesman Problem (TSP) and its 2-approximation algorithm using MST. [7.5 Marks]
  2. Write a short note on NP-Completeness, polynomial-time reductions, and Cook's Theorem with examples. [7.5 Marks]