Analysis & Design of Algorithms (AL-402) - Important Questions
-
7 Marks Medium Priority Asked: 2026, 2025, 2023
Apply / trace quick sort (partition exchange sort) on a given array, showing partitioning steps
Appeared 3x (2026, 2025, 2023)
-
7 Marks Medium Priority Asked: 2026, 2025
Apply / trace quicksort (partition exchange sort) on the array $15, 31, 1, 9, 80, 12, 14, 7, 24$.
Appeared 2x (2026, 2025)
-
7 Marks Medium Priority Asked: 2026, 2025
Write an algorithm to search an element using binary search method and analyse its best, average and worst cases.
Appeared 2x (2026, 2025)
-
7 Marks Medium Priority Asked: 2026, 2025
Solve the recurrence $T(n) = 2T(n/2) + n$ with $T(1)=O(1)$ to obtain asymptotic bound.
Appeared 2x (2026, 2025)
-
7 Marks Medium Priority Asked: 2026
Find the Big-O notation for the function $f(n) = 1000n^2 + 100n + 6$.
Appeared 1x (2026)
-
7 Marks Medium Priority Asked: 2024, 2023
Define time complexity and describe the different asymptotic notations used to represent it.
Appeared 2x (2024, 2023)
-
7 Marks Medium Priority Asked: 2024, 2022
Write the algorithm for Strassen's matrix multiplication and analyze its complexity.
Appeared 2x (2024, 2022)
-
7 Marks Low Priority Asked: 2026, 2025
Solve the recurrence $T(n) = 2T(n/2) + n$ with $T(1)=O(1)$
Appeared 2x (2026, 2025)
-
7 Marks Low Priority Asked: 2025
Solve the recurrence $T(n) = 2T(n/2) + n \log n$ using Master's theorem
Appeared 1x (2025)
-
7 Marks Low Priority Asked: 2025
Find the number of comparisons made by sequential search in the best and worst cases.
Appeared 1x (2025)
-
7 Marks Low Priority Asked: 2025
Write an algorithm for implementing binary search.
Appeared 1x (2025)
-
7 Marks Low Priority Asked: 2023, 2022
Explain the various criteria used for performance analysis of an algorithm.
Appeared 2x (2023, 2022)
-
7 Marks High Priority Asked: 2025, 2024
Write Dijkstra's algorithm for the single source shortest path problem and illustrate/apply it.
Appeared 3x (2025, 2024)
-
7 Marks High Priority Asked: 2026, 2025, 2024, 2023
Apply Kruskal's algorithm to a given weighted graph to construct the minimum cost spanning tree, illustrating with an example
Appeared 4x (2026, 2025, 2024, 2023)
-
7 Marks Medium Priority Asked: 2025, 2022
Define/write Kruskal's algorithm for minimum spanning tree and explain its steps and time complexity
Appeared 2x (2025, 2022)
-
7 Marks Medium Priority Asked: 2026, 2025, 2024, 2023
Apply Kruskal's algorithm to construct the minimum cost spanning tree / MST for a given graph with example.
Appeared 4x (2026, 2025, 2024, 2023)
-
7 Marks Medium Priority Asked: 2026, 2024, 2023
Solve a fractional knapsack instance using the greedy method by profit-to-weight ratio.
Appeared 3x (2026, 2024, 2023)
-
7 Marks Medium Priority Asked: 2026
Define Greedy Algorithm, give its pseudocode, and apply it to graph vertex colouring.
Appeared 1x (2026)
-
7 Marks Medium Priority Asked: 2026, 2024, 2023
Solve fractional knapsack instance using greedy method (profit/weight ratio) for given n, profits, weights and capacity M
Appeared 3x (2026, 2024, 2023)
-
7 Marks Medium Priority Asked: 2024, 2023
Describe the job sequencing with deadlines problem and find the optimal sequence for given profits and deadlines.
Appeared 2x (2024, 2023)
-
7 Marks Low Priority Asked: 2025
List various problems solvable using the greedy algorithm approach.
Appeared 1x (2025)
-
7 Marks Low Priority Asked: 2025
Explain fractional Knapsack problem in detail
Appeared 1x (2025)
-
7 Marks Low Priority Asked: 2024
How the Optimal Merge Pattern algorithm works? Explain with a suitable example.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2024
Discuss the importance of proving both the greedy choice property and the optimal substructure property for establishing the correctness of a greedy algorithm.
Appeared 1x (2024)
-
7 Marks Medium Priority Asked: 2024, 2023
Explain the multistage graph problem and its dynamic programming solution, giving the algorithm and its computing time.
Appeared 3x (2024, 2023)
-
9 Marks Medium Priority Asked: 2026, 2024, 2023, 2022
Explain Floyd-Warshall algorithm with a suitable example.
Appeared 4x (2026, 2024, 2023, 2022)
-
7 Marks Medium Priority Asked: 2023, 2022
Solve a given 0/1 Knapsack instance for maximum profit using dynamic programming / optimal selection.
Appeared 4x (2023, 2022)
-
9 Marks Medium Priority Asked: 2026, 2024, 2023, 2022
Explain Floyd-Warshall algorithm with a suitable example/graph.
Appeared 4x (2026, 2024, 2023, 2022)
-
7 Marks Medium Priority Asked: 2026, 2025
Compare dynamic programming, greedy method, and divide and conquer, including commonalities and main differences.
Appeared 2x (2026, 2025)
-
7 Marks Medium Priority Asked: 2026
Explain the 0-1 Knapsack problem and discuss its solution.
Appeared 1x (2026)
-
7 Marks Medium Priority Asked: 2024, 2023
Design a three-stage reliability system with device types $D_1, D_2, D_3$ with given costs and reliabilities subject to a maximum total cost.
Appeared 2x (2024, 2023)
-
7 Marks Low Priority Asked: 2026, 2025
Explain the 0/1 Knapsack problem and discuss its solution, including whether the greedy method is effective.
Appeared 2x (2026, 2025)
-
7 Marks Low Priority Asked: 2026, 2025
Compare dynamic programming with divide and conquer (and greedy method), explaining commonalities and main differences.
Appeared 2x (2026, 2025)
-
7 Marks Low Priority Asked: 2024
Explain how dynamic programming can be used to solve reliability design problems.
Appeared 1x (2024)
-
14 Marks Low Priority Asked: 2023
Write short notes on reliability design (among choice of topics including greedy correctness, parallel algorithms, graph coloring).
Appeared 1x (2023)
-
9 Marks Medium Priority Asked: 2024, 2023
Solve a travelling salesperson problem instance using (least cost) branch and bound.
Appeared 3x (2024, 2023)
-
7 Marks Medium Priority Asked: 2026, 2025
Obtain any two solutions to the 4-Queens problem and establish the relationship between them.
Appeared 2x (2026, 2025)
-
7 Marks Medium Priority Asked: 2026, 2024
What is a Hamiltonian cycle? Explain how to find it using backtracking with an example.
Appeared 2x (2026, 2024)
-
7 Marks Medium Priority Asked: 2026
Describe the lower bound theory and its use in solving algebraic problems.
Appeared 1x (2026)
-
7 Marks Medium Priority Asked: 2026
Explain the Travelling Salesman Problem in detail.
Appeared 1x (2026)
-
7 Marks Medium Priority Asked: 2026, 2024, 2023
Explain the Hamiltonian cycle problem and how to solve it using backtracking, including the algorithm with an example.
Appeared 3x (2026, 2024, 2023)
-
7 Marks Low Priority Asked: 2026, 2025
Obtain any two solutions to the 4-Queens problem and establish the relationship between them.
Appeared 2x (2026, 2025)
-
7 Marks Low Priority Asked: 2025
Solve an instance of the Knapsack problem using the branch and bound technique.
Appeared 1x (2025)
-
7 Marks Low Priority Asked: 2024
Describe graph coloring problem and write an algorithm for m-coloring problem.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2024
Explain the 4-Queens problem using the backtracking algorithm.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2024
Explain the matrix reduction method for solving TSP using branch and bound.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2023
Find a solution to the 8-Queens problem using backtracking and draw the solution space with bounding function.
Appeared 1x (2023)
-
9 Marks Medium Priority Asked: 2024, 2023, 2022
Explain the P, NP, NP-Hard and NP-Complete classes, their relation, with examples.
Appeared 3x (2024, 2023, 2022)
-
7 Marks Medium Priority Asked: 2026
Explain the difference between P and NP.
Appeared 1x (2026)
-
7 Marks Medium Priority Asked: 2026
Explain approximation algorithms for Vertex Cover.
Appeared 1x (2026)
-
7 Marks Medium Priority Asked: 2024, 2023
Compare and contrast NP-Hard and NP-Complete classes.
Appeared 2x (2024, 2023)
-
7 Marks Low Priority Asked: 2025
Explain the NP-Complete class with example.
Appeared 1x (2025)
-
7 Marks Low Priority Asked: 2025
Determine which of the given numbers of nodes could form a Full Binary Tree.
Appeared 1x (2025)
-
14 Marks Low Priority Asked: 2024
Write short notes on any two of the following.
Appeared 1x (2024)
-
7 Marks Low Priority Asked: 2024
Explain the purpose of design and complexity of parallel algorithms in detail.
Appeared 1x (2024)
-
14 Marks Low Priority Asked: 2023
Write short note differentiating between Prim's algorithm and Kruskal's algorithm
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2023
Show the inorder, preorder and postorder traversals for the given tree.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2023
Create a B-tree for the given list of elements with given minimum degree / minimization factor.
Appeared 1x (2023)
-
7 Marks Low Priority Asked: 2024
What are B-trees? How are they created? Explain with a suitable example.
Appeared 1x (2024)
-
14 Marks Low Priority Asked: 2022
Write short notes on any three of the following.
Appeared 1x (2022)
Quick Add to Notes
Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.
Create free accountHave an account? Log in
Notes Panel