Skip to content
IT-403 · Analysis and Design of Algorithm/Important Questions

Analysis and Design of Algorithm (IT-403) - Important Questions

  1. 7 Marks High Priority Asked: 2025, 2023

    Give the divide-and-conquer recursive binary search algorithm, generate its recurrence relation, and analyze its time complexity.

    Appeared 2x (2025, 2023)

  2. 7 Marks High Priority Asked: 2025, 2022

    Find the smallest/minimum and largest/maximum elements in an array of $n$ numbers using divide and conquer / recursive method, including algorithm, trace/example, and worst-case complexity.

    Appeared 2x (2025, 2022)

  3. 7 Marks Medium Priority Asked: 2026, 2020

    Write the merge sort and merge algorithms and prove/derive that the running time is $\theta(n \log n)$, illustrating on an example array.

    Appeared 2x (2026, 2020)

  4. 7 Marks Medium Priority Asked: 2026, 2020

    Write the Quick Sort / partition algorithm and analyze/derive its efficiency including best-case and worst-case time complexity, with application to an example list.

    Appeared 2x (2026, 2020)

  5. 7 Marks Medium Priority Asked: 2026

    Explain the steps involved in designing and analyzing algorithms and the criteria used to evaluate algorithm efficiency.

    Appeared 1x (2026)

  6. 7 Marks Medium Priority Asked: 2025

    Write a recursive algorithm for computing the $n^{th}$ Fibonacci number.

    Appeared 1x (2025)

  7. 7 Marks Medium Priority Asked: 2025

    Estimate minimum sorting time for a different input size using Quick Sort time complexity.

    Appeared 1x (2025)

  8. 7 Marks Medium Priority Asked: 2025

    Find the time complexity of the recurrence relation $T(n)= n + T(n/10) + T(7n/5)$.

    Appeared 1x (2025)

  9. 7 Marks Medium Priority Asked: 2025

    Analyze the time complexity of Strassen's algorithm compared to conventional matrix multiplication.

    Appeared 1x (2025)

  10. 7 Marks Medium Priority Asked: 2025

    Given $T(n) = 7T(n/2) + n^2$ and $T'(n) = aT'(n/4) + n^2$, find the largest integer $a$ such that $A'$ is asymptotically faster than $A$.

    Appeared 1x (2025)

  11. 7 Marks Medium Priority Asked: 2025

    Explain properties of Binomial Heap and give algorithms for uniting two Binomial Heaps and finding the minimum key.

    Appeared 1x (2025)

  12. 7 Marks Medium Priority Asked: 2025

    Define stable sorting algorithm and identify which common sorting algorithms are stable vs unstable with explanation.

    Appeared 1x (2025)

  13. 7 Marks Medium Priority Asked: 2026

    Solve the fractional knapsack problem with knapsack capacity $=60$ kg for the given 7 items with weights and values using the greedy approach.

    Appeared 1x (2026)

  14. 7 Marks Medium Priority Asked: 2026

    What is Greedy algorithm? How greedy methods can be used to solve the optimization problem?

    Appeared 1x (2026)

  15. 7 Marks Medium Priority Asked: 2026

    Explain the job sequencing with deadlines problem and demonstrate how the greedy algorithm schedules jobs to maximize profit with an example.

    Appeared 1x (2026)

  16. 7 Marks Medium Priority Asked: 2025

    Define minimum cost spanning tree and explain Kruskal's algorithm with its algorithmic steps.

    Appeared 1x (2025)

  17. 7 Marks Medium Priority Asked: 2025

    Suppose character a, b, c, d, e, f has probabilities 0.07, 0.09, 0.12, 0.22, 0.23, 0.27 respectively. Find an optional Huffman code and draw the Huffman tree. What is the average code length?

    Appeared 1x (2025)

  18. 7 Marks Medium Priority Asked: 2025

    Prove uniqueness of MST with distinct edge weights with example, and discuss Kruskal's MST algorithm in detail.

    Appeared 1x (2025)

  19. 7 Marks Medium Priority Asked: 2023, 2022

    Solve the fractional knapsack instance with n=7, m=15, profits (10,5,15,7,6,18,3) and weights (2,3,5,7,1,4,1) using the greedy method.

    Appeared 2x (2023, 2022)

  20. 7 Marks Low Priority Asked: 2023

    Compute the optimal solution for job sequencing with deadlines using greedy method. $N = 4$, profits $(p_1, p_2, p_3, p_4) = (100, 10, 15, 27)$, deadlines $(d_1, d_2, d_3, d_4) = (2, 1, 2, 1)$.

    Appeared 1x (2023)

  21. 7 Marks Low Priority Asked: 2023

    Apply Kruskal's algorithm to a given graph to find the minimum spanning tree and explain the steps.

    Appeared 1x (2023)

  22. 7 Marks Low Priority Asked: 2022

    Use Prim's algorithm to determine the minimum cost spanning tree of a given graph.

    Appeared 1x (2022)

  23. 7 Marks Medium Priority Asked: 2026, 2022, 2020

    Apply Floyd-Warshall / Floyd's algorithm to compute all-pairs shortest-path distances for a given weighted graph / cost matrix.

    Appeared 3x (2026, 2022, 2020)

  24. 7 Marks Medium Priority Asked: 2026, 2023, 2020

    Solve a 0/1 Knapsack instance using dynamic programming to find the optimal solution.

    Appeared 3x (2026, 2023, 2020)

  25. 7 Marks Medium Priority Asked: 2026

    Explain the reliability design problem using the dynamic programming approach and steps to obtain an optimal solution with example.

    Appeared 1x (2026)

  26. 7 Marks Low Priority Asked: 2023

    Explain the dynamic programming algorithm for the 0/1 knapsack problem.

    Appeared 1x (2023)

  27. 7 Marks Low Priority Asked: 2023

    Solve a given 0/1 knapsack instance using dynamic programming.

    Appeared 1x (2023)

  28. 7 Marks Low Priority Asked: 2023

    Explain the significance of overlapping sub-problems in dynamic programming.

    Appeared 1x (2023)

  29. 7 Marks Low Priority Asked: 2023

    Design a three stage reliability system with device types $d_1, d_2$ and $d_3$. The costs are $$30, $15$ and $$20$ respectively. The cost of the system is to be no more than $$105$. The reliability of each device is 0.9, 0.8 and 0.5 respectively.

    Appeared 1x (2023)

  30. 7 Marks Low Priority Asked: 2023

    Introduce the Floyd-Warshall algorithm for all-pairs shortest paths.

    Appeared 1x (2023)

  31. 7 Marks Low Priority Asked: 2023

    On which type of problem we apply multi stage graph technique? Explain with example.

    Appeared 1x (2023)

  32. 7 Marks Low Priority Asked: 2022

    Explain dynamic programming and compute transitive closure of a given graph.

    Appeared 1x (2022)

  33. 7 Marks Low Priority Asked: 2022

    Apply Floyd's algorithm to find all-pairs shortest paths for a given graph.

    Appeared 1x (2022)

  34. 7 Marks Medium Priority Asked: 2026, 2023, 2020, 2019

    Explain the 8-queens / N-queens problem and solve it using backtracking, including algorithm and state-space tree.

    Appeared 5x (2026, 2023, 2020, 2019)

  35. 7 Marks Medium Priority Asked: 2026, 2020

    Solve the Travelling Salesman Problem using least-cost branch and bound, drawing the state space tree and showing reduced cost matrices.

    Appeared 3x (2026, 2020)

  36. 7 Marks Medium Priority Asked: 2026, 2020

    Describe the graph coloring (m-coloring) problem and explain/design the backtracking algorithm to solve it.

    Appeared 2x (2026, 2020)

  37. 7 Marks Medium Priority Asked: 2026

    Explain the concept of lower bound theory and describe the fundamentals of parallel algorithms.

    Appeared 1x (2026)

  38. 7 Marks Medium Priority Asked: 2023

    Describe the 8-queens problem and explain how backtracking finds a solution, with algorithm.

    Appeared 2x (2023)

  39. 7 Marks Medium Priority Asked: 2023

    Explain the Traveling Salesperson Problem and give the branch-and-bound algorithm to find an optimal solution.

    Appeared 2x (2023)

  40. 7 Marks Medium Priority Asked: 2025

    Explain backtracking and solve the subset sum problem using backtracking.

    Appeared 1x (2025)

  41. 7 Marks Medium Priority Asked: 2023, 2022

    What is a decision tree and how is it used to illustrate lower bound theory with an example such as sorting?

    Appeared 2x (2023, 2022)

  42. 7 Marks Low Priority Asked: 2023

    Explain the concept of backtracking in algorithmic design.

    Appeared 1x (2023)

  43. 7 Marks Low Priority Asked: 2023

    Identify the Hamiltonian cycle in a given graph.

    Appeared 1x (2023)

  44. 7 Marks Low Priority Asked: 2023

    Explain what the Hamiltonian Cycle problem is and how it is solved using backtracking.

    Appeared 1x (2023)

  45. 7 Marks Low Priority Asked: 2022

    Explain the backtracking concept and construct the state-space tree for solving the N-queens (4-queens) problem.

    Appeared 1x (2022)

  46. 7 Marks Medium Priority Asked: 2026, 2023, 2019

    Explain the P, NP, NP-complete and NP-hard complexity classes, their relationships/differences, with an example of each.

    Appeared 3x (2026, 2023, 2019)

  47. 7 Marks Medium Priority Asked: 2026, 2020

    Demonstrate insertion of given keys into an empty B-tree and deletion of keys from the resulting B-tree

    Appeared 2x (2026, 2020)

  48. 7 Marks Medium Priority Asked: 2026

    Construct a BST by inserting given keys and perform inorder, preorder, and postorder traversals.

    Appeared 1x (2026)

  49. 7 Marks Medium Priority Asked: 2025

    Explain B-Tree, its properties, and deletion cases with example.

    Appeared 1x (2025)

  50. 7 Marks Medium Priority Asked: 2025

    Construct a binary tree from given preorder and inorder traversals and find its postorder traversal.

    Appeared 1x (2025)

  51. 7 Marks Low Priority Asked: 2023

    Discuss the operations performed on the binary search tree for the following data : 20, 49, 41, 93, 69, 90, 76, 62, 81, 75, 10, 79, 87, 38 and delete 41 and 76.

    Appeared 1x (2023)

  52. 7 Marks Low Priority Asked: 2023

    Differentiate between BFS and DFS.

    Appeared 1x (2023)

  53. 7 Marks Low Priority Asked: 2023

    What is a B-tree and what are its advantages over other tree structures?

    Appeared 1x (2023)

  54. 7 Marks Low Priority Asked: 2023

    Explain the difference between P, NP and NP-complete problems

    Appeared 1x (2023)

  55. 7 Marks Low Priority Asked: 2022

    Apply DFS-based topological sorting to the given graph.

    Appeared 1x (2022)

  56. 14 Marks Low Priority Asked: 2023

    Write short notes on any two of the following.

    Appeared 1x (2023)

  57. 7 Marks Low Priority Asked: 2023

    When is it appropriate to sacrifice code readability for the sake of optimization, and when is it not? Explain.

    Appeared 1x (2023)

  58. 14 Marks Low Priority Asked: 2022

    Explain any two of: AVL Tree, Hamiltonian Problem, M-Coloring, NP-Complete Problem with examples

    Appeared 1x (2022)

Go to where you left off?

Quick Add to Notes

Save questions, your own notes and screenshots into notes filed by unit. It takes a free account.

Create free account

Have an account? Log in