CS3401 Algorithms Previous Year Question Papers - Anna University
Explore the Previous Year Anna University Question Papers of CS3401 Algorithms.
2024
-
2024 - CSE-AM-2024-CS 3401-Algorithms-420771095-50901.pdf
-
2024 - CSE-ND-2024-CS 3401-Algorithms -612400016-20250604161745 (19).pdf
2023
-
2023 - CSE-AM-2023-CS 3401-Algorithms-988808746-AM23C (12).pdf
-
2023 - CSE-ND-2023-CS 3401-Algorithms-531532806-20868.pdf
Important Questions - CS3401 Algorithms
UNIT I: INTRODUCTION & ASYMPTOTIC ANALYSIS
Part A (2 Marks)
- Define Time and Space Complexity.
- Explain asymptotic notations (Big-O, Omega, Theta).
- What is a recurrence relation?
- State the role of prefix function in KMP algorithm.
Part B (13/15 Marks)
- Analyze time complexity of Linear, Binary, and Interpolation Search.
- Solve recurrence relations using substitution method.
- Explain Rabin-Karp and KMP string matching algorithms with examples.
- Discuss analysis of recursive and non-recursive algorithms.
UNIT II: GRAPH ALGORITHMS
Part A (2 Marks)
- Define Biconnectivity and Strong Connectivity.
- What is a Minimum Spanning Tree (MST)?
- Explain Transitive Closure.
Part B (13/15 Marks)
- Explain Dijkstra's Algorithm with example.
- Compare BFS and DFS with pseudo-code and complexity.
- Explain Floyd-Warshall algorithm.
- Find MST using Prim's or Kruskal's algorithm.
- Analyze Ford-Fulkerson method for Maximum Flow.
UNIT III: ALGORITHM DESIGN TECHNIQUES
Part A (2 Marks)
- Explain idea of Quick Sort.
- Define Optimal Binary Search Tree (OBST).
- State greedy approach for Activity Selection.
Part B (13/15 Marks)
- Explain Merge Sort and Quick Sort with analysis.
- Solve Matrix Chain Multiplication using Dynamic Programming.
- Construct Huffman Tree and analyze complexity.
- Explain Multi-stage graph problem.
UNIT IV: STATE SPACE SEARCH ALGORITHMS
Part A (2 Marks)
- Define Backtracking.
- What is Hamiltonian Circuit Problem?
- Differentiate Branch and Bound vs Backtracking.
Part B (13/15 Marks)
- Solve N-Queens and Subset Sum using Backtracking.
- Apply Branch and Bound for TSP or Knapsack.
- Solve 15-Puzzle using Branch and Bound.
UNIT V: NP-COMPLETE & APPROXIMATION ALGORITHMS
Part A (2 Marks)
- Define tractable and intractable problems.
- What is NP-Complete and NP-Hard?
- Purpose of Approximation Algorithms.
Part B (13/15 Marks)
- Prove NP-Completeness (3-CNF or TSP).
- Explain approximation algorithms for TSP or Bin Packing.
- Discuss Randomized Algorithms (Miller-Rabin / Randomized Quick Sort).
Most Repeated / High-Weight Questions
Recurrence relation solving, sorting algorithm analysis (Quick Sort, Merge Sort), graph algorithms (Dijkstra, BFS/DFS), dynamic programming (matrix chain, Knapsack), backtracking (N-Queens, subset sum), NP-completeness proofs.
Additional Resources
How to Use These Question Papers
- Complexity Analysis First: Master asymptotic notations and recurrence relations (Unit I) before attempting algorithm design questions. These are foundation concepts for all other units.
- Sorting and Graph Mastery: Understand sorting algorithms thoroughly with time/space complexity analysis. Practice graph algorithms with multiple examples and trace through BFS, DFS, Dijkstra step-by-step.
- Dynamic Programming Practice: Start with simple problems (matrix chain, Knapsack) and gradually move to complex ones. Write recurrence relations, build tables, and trace back solutions manually.
- Backtracking and Branch-Bound: Implement N-Queens, subset sum, and TSP using both techniques. Draw state space trees to visualize search process and understand pruning strategies.
- Time Management: Allocate 60-90 minutes per algorithm analysis; practice Part B solutions under timed conditions for better exam performance and speed.