Skip to content
Previous Year Question Paper

CSIT-403 – Analysis & Design of Algorithm (ADA)

November 2023•CSIT•SEMESTER-4
November 2023
Max Marks: 70
Duration: 3 Hours
Instructions:

• Attempt any five questions.

• All questions carry equal marks.

Q.1
a)Unit 1

Define Big O notation. How is it used to describe the upper bound of an algorithm's time complexity?

b)Unit 1

In what scenarios is worst-case analysis more relevant than average-case analysis discuss and vice versa also.

Q.2
a)Unit 1

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

b)Unit 1

Explain the significance of asymptotic notations (such as Big O, Big Omega, and Big Theta) in algorithm analysis.

Q.3
a)Unit 1

Explain the heap sort algorithm step by step with suitable example.

b)Unit 1

Discuss the key steps involved in the divide and conquer paradigm.

Q.4
a)Unit 3

Walk through the dynamic programming solution for the 0/1 knapsack problem.

b)Unit 3

What is the significance of overlapping sub-problems in dynamic programming?

Q.5
a)Unit 3

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

b)Unit 4

Explain the concept of backtracking in algorithmic design.

Q.6
a)Unit 4

Describe the 8 Queen's Problem. How does backtracking help to find a solution?

b)Unit 4

What is the Hamiltonian Cycle problem and how is it approached using backtracking?

Q.7
a)Unit 4

Describe the Traveling Salesman Problem (TSP). How is the branch and bound method applied to find an optimal solution?

b)Unit 4

Provide an example illustrating the application of lower bound theory to a specific algebraic problem.

Q.8
a)Unit 5

What is a B-tree and what advantages does it offer over other tree structures?

b)Unit 5

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