Skip to content
CS-402 · Analysis Design of Algorithm/Important Questions

Analysis Design of Algorithm (CS-402) - Important Questions

  1. Unit 17 Marks High Priority

    Apply Quick Sort step-by-step to sort the given array: 15, 31, 1, 9, 80, 12, 14, 7, 24. Show partitioning at each step and analyse its time complexity.

    Predicted for DEC-2026

  2. Unit 17 Marks High Priority

    What are asymptotic notations? Explain the different asymptotic notations - Big-Oh, Big-Omega and Theta - used for algorithm complexity with suitable examples.

    Predicted for DEC-2026

  3. Unit 17 Marks High Priority

    What is Merge Sort? Sort the following list of elements using Merge Sort: 22, 12, 30, 46, 28, 14, 8, 10, 56, 18, 3. Analyse its time complexity.

    Predicted for DEC-2026

  4. Unit 17 Marks High Priority

    Give the divide and conquer algorithm for Binary Search and analyse its time complexity for best, average and worst cases.

    Predicted for DEC-2026

  5. Unit 27 Marks High Priority

    Obtain a set of optimal Huffman codes for messages with relative frequencies (4, 5, 7, 8, 10, 12, 20). Draw the decode tree for this set of codes and write applications of Huffman coding.

    Predicted for DEC-2026

  6. Unit 27 Marks High Priority

    Solve the job sequencing with deadlines problem using Greedy method for n=5 with profits (p1,p2,p3,p4,p5)=(5,20,10,15,1) and deadlines (d1,d2,d3,d4,d5)=(3,2,1,2,3). Find the optimal job sequence and maximum profit.

    Predicted for DEC-2026

  7. Unit 27 Marks High Priority

    Explain Prim's algorithm for minimum spanning tree with an example. Construct a minimal spanning tree using Prim's algorithm and analyse its complexity.

    Predicted for DEC-2026

  8. Unit 37 Marks High Priority

    Find the optimal solution to the 0/1 Knapsack instance using dynamic programming where n=4, m=40, (w1,w2,w3,w4)=(2,11,22,15) and (p1,p2,p3,p4)=(11,21,31,33).

    Predicted for DEC-2026

  9. Unit 37 Marks High Priority

    Explain the Floyd-Warshall all-pairs shortest path algorithm with a suitable example. Write its pseudocode and analyse its time complexity.

    Predicted for DEC-2026

  10. Unit 37 Marks High Priority

    Construct and solve a multistage graph for the given graph using forward approach. Find the minimum cost path from source to sink.

    Predicted for DEC-2026

  11. Unit 47 Marks High Priority

    Write an algorithm for the 8-queens problem using backtracking. Explain how backtracking places queens so that no two queens attack each other.

    Predicted for DEC-2026

  12. Unit 47 Marks High Priority

    Solve the given Travelling Salesman Problem cost-matrix instance using Branch and Bound method. Find the minimum cost tour.

    Predicted for DEC-2026

  13. Unit 47 Marks High Priority

    Describe lower bound theory and its use in solving algebraic problems with suitable examples.

    Predicted for DEC-2026

  14. Unit 57 Marks High Priority

    What do you mean by balance factor in AVL tree? Explain height-balanced AVL tree with a suitable example of insertion and balancing with rotations.

    Predicted for DEC-2026

  15. Unit 57 Marks High Priority

    Compare / differentiate between BFS and DFS graph traversal techniques with algorithm steps, example and applications.

    Predicted for DEC-2026

  16. Unit 57 Marks High Priority

    Explain the classes P, NP and NP-complete problems. What is NP-completeness? Explain with suitable examples.

    Predicted for DEC-2026

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