2025 question paper

Design and Analysis of Algorithms

28 questions

  1. Q1a. Which property of an algorithm ensures that every step is clear and has exactly one meaning? (i) Finiteness (ii) Effectiveness (iii) Definiteness (iv) Generality20252m

    Module 1: Introduction

    Which property of an algorithm ensures that every step is clear and has exactly one meaning?

    (i) Finiteness
    (ii) Effectiveness
    (iii) Definiteness
    (iv) Generality

    View this question on its own page →
  2. Q1b. In Asymptotic notation, Big- \Omega (Omega) is used to represent (i) The upper bound (Worst-case) (ii) The lower bound (Best-case) (iii) The tight bound (Average-case) (iv) None of the above20252m

    Module 1: Introduction

    In Asymptotic notation, Big- Ω\Omega (Omega) is used to represent

    (i) The upper bound (Worst-case)
    (ii) The lower bound (Best-case)
    (iii) The tight bound (Average-case)
    (iv) None of the above

    View this question on its own page →
  3. Q1c. A FIFO Branch-and-Bound strategy is typically implemented using which data structure? (i) Stack (ii) Queue (iii) Priority Queue (iv) Array20252m

    Module 2: Fundamental Algorithmic Strategies

    A FIFO Branch-and-Bound strategy is typically implemented using which data structure?

    (i) Stack
    (ii) Queue
    (iii) Priority Queue
    (iv) Array

    View this question on its own page →
  4. Q1d. The 0/1 Knapsack problem is traditionally solved using which approach to ensure an optimal solution? (i) Greedy Method (ii) Dynamic Programming (iii) Brute-Force only (iv) Linear Search20252m

    Module 2: Fundamental Algorithmic Strategies

    The 0/1 Knapsack problem is traditionally solved using which approach to ensure an optimal solution?

    (i) Greedy Method
    (ii) Dynamic Programming
    (iii) Brute-Force only
    (iv) Linear Search

    View this question on its own page →
  5. Q1e. In an unweighted graph, which algorithm is guaranteed to find the shortest path between two nodes? (i) Depth First Search (ii) Kruskal's Algorithm (iii) Breadth First Search (iv) Prim's Algorithm20252m

    Module 3: Graph and Tree Algorithms

    In an unweighted graph, which algorithm is guaranteed to find the shortest path between two nodes?

    (i) Depth First Search
    (ii) Kruskal's Algorithm
    (iii) Breadth First Search
    (iv) Prim's Algorithm

    View this question on its own page →
  6. Q1f. Which of the following algorithms is commonly used to find the Minimum Spanning Tree of a graph? (i) Dijkstra's Algorithm (ii) Kruskal's Algorithm (iii) Bellman-Ford Algorithm (iv) Floyd-Warshall Algorithm20252m

    Module 3: Graph and Tree Algorithms

    Which of the following algorithms is commonly used to find the Minimum Spanning Tree of a graph?

    (i) Dijkstra's Algorithm
    (ii) Kruskal's Algorithm
    (iii) Bellman-Ford Algorithm
    (iv) Floyd-Warshall Algorithm

    View this question on its own page →
  7. Q1g. If all edge weights in a graph are positive, what is the minimum number of edges in a spanning tree for a graph with vertices? (i) V (ii) V-1 (iii) V+1 (iv) 2V20252m

    Module 3: Graph and Tree Algorithms

    If all edge weights in a graph are positive, what is the minimum number of edges in a spanning tree for a graph with vertices?

    (i) V
    (ii) V-1
    (iii) V+1
    (iv) 2V

    View this question on its own page →
  8. Q1h. Which complexity class contains problems for which a given solution can be verified in polynomial time by a deterministic Turing machine? (i) Class P (ii) Class NP (iii) Class NP-Hard (iv) Class Undecidable20252m

    Module 4: Tractable and Intractable Problems

    Which complexity class contains problems for which a given solution can be verified in polynomial time by a deterministic Turing machine?

    (i) Class P
    (ii) Class NP
    (iii) Class NP-Hard
    (iv) Class Undecidable

    View this question on its own page →
  9. Q1i. What is the approximation ratio (or performance ratio) of the greedy algorithm for the Vertex Cover problem? (i) 2 (ii) 1.5 (iii) ln n (iv) 120252m

    Module 5: Advanced Topics

    What is the approximation ratio (or performance ratio) of the greedy algorithm for the Vertex Cover problem?

    (i) 2
    (ii) 1.5
    (iii) ln n
    (iv) 1

    View this question on its own page →
  10. Q1j. The Quantified Boolean Formula problem is a canonical complete problem for which of the following complexity classes? (i) NP (ii) P (iii) PSPACE (iv) co-NP20252m

    Module 4: Tractable and Intractable Problems

    The Quantified Boolean Formula problem is a canonical complete problem for which of the following complexity classes?

    (i) NP
    (ii) P
    (iii) PSPACE
    (iv) co-NP

    View this question on its own page →
  11. Q2a. Write and explain the Cook's theorem.20257m

    Module 4: Tractable and Intractable Problems

    Write and explain the Cook's theorem.

    View this question on its own page →
  12. Q2b. Define time complexity and space complexity. Write an algorithm for adding n natural numbers and find the space required by that algorithm.20257m

    Module 1: Introduction

    Define time complexity and space complexity. Write an algorithm for adding n natural numbers and find the space required by that algorithm.

    View this question on its own page →
  13. Q3a. Discuss the concepts of asymptotic notations and its properties.20257m

    Module 1: Introduction

    Discuss the concepts of asymptotic notations and its properties.

    View this question on its own page →
  14. Q3b. What is a Minimum Cost Spanning tree? Explain Kruskal's Minimum cost spanning tree algorithm with a suitable example.20257m

    Module 3: Graph and Tree Algorithms

    What is a Minimum Cost Spanning tree? Explain Kruskal's Minimum cost spanning tree algorithm with a suitable example.

    View this question on its own page →
  15. Q4a. Find an optimal solution to the knapsack instance n=4 objects and the capacity of knapsack m=15, profits are (10, 5, 7, 11) and weights are (3, 4, 3, 5).20257m

    Module 2: Fundamental Algorithmic Strategies

    Find an optimal solution to the knapsack instance n=4n=4 objects and the capacity of knapsack m=15m=15, profits are (10,5,7,11)(10, 5, 7, 11) and weights are (3,4,3,5)(3, 4, 3, 5).

    View this question on its own page →
  16. Q4b. Compare NP-hard and NP-completeness?20257m

    Module 4: Tractable and Intractable Problems

    Compare NP-hard and NP-completeness?

    View this question on its own page →
  17. Q5a. Explain BFS algorithm in detail. Also explain its time complexity.20257m

    Module 3: Graph and Tree Algorithms

    Explain BFS algorithm in detail. Also explain its time complexity.

    View this question on its own page →
  18. Q5b. Explain how Bellman Ford algorithm can be used to detect the presence of negative weight cycles.20257m

    Module 3: Graph and Tree Algorithms

    Explain how Bellman Ford algorithm can be used to detect the presence of negative weight cycles.

    View this question on its own page →
  19. Q6a. Explain the Prim's algorithm. What is the time complexity of Prim's algorithm?20257m

    Module 3: Graph and Tree Algorithms

    Explain the Prim's algorithm. What is the time complexity of Prim's algorithm?

    View this question on its own page →
  20. Q6b. Apply the Prim's algorithm and find the optimal solution for the following graph: ![Prim's Algorithm Graph](https://res.cloudinary.com/dvrkysimk/image/upload/v1780226131/image_anpxgf.png)20257m

    Module 3: Graph and Tree Algorithms

    Apply the Prim's algorithm and find the optimal solution for the following graph:

    Prim's Algorithm Graph

    View this question on its own page →
  21. Q7a. Explain the approximation algorithm for the travelling salesman problem.20257m

    Module 5: Advanced Topics

    Explain the approximation algorithm for the travelling salesman problem.

    View this question on its own page →
  22. Q7b. Discuss the steps to find approximate solutions to NP-Hard optimization problems using approximation algorithms with an example.20257m

    Module 5: Advanced Topics

    Discuss the steps to find approximate solutions to NP-Hard optimization problems using approximation algorithms with an example.

    View this question on its own page →
  23. Q8a. Explain the Brute Force method of algorithm design with suitable examples.20257m

    Module 2: Fundamental Algorithmic Strategies

    Explain the Brute Force method of algorithm design with suitable examples.

    View this question on its own page →
  24. Q8b. Explain the Bin Packing Problem using heuristic techniques such as: * First Fit * Best Fit * Next Fit20257m

    Module 5: Advanced Topics

    Explain the Bin Packing Problem using heuristic techniques such as:

    • First Fit
    • Best Fit
    • Next Fit
    View this question on its own page →
  25. Q9a. Write a short note on: Heuristics characteristics and their application domains.20257m

    Module 5: Advanced Topics

    Write a short note on:

    Heuristics characteristics and their application domains.

    View this question on its own page →
  26. Q9b. Write a short note on: Recursion tree method20257m

    Module 1: Introduction

    Write a short note on:

    Recursion tree method

    View this question on its own page →
  27. Q9c. Write a short note on: Dynamic Programming20257m

    Module 2: Fundamental Algorithmic Strategies

    Write a short note on:

    Dynamic Programming

    View this question on its own page →
  28. Q9d. Write a short note on: Asymptotic Notations20257m

    Module 1: Introduction

    Write a short note on:

    Asymptotic Notations

    View this question on its own page →