Skip to content
Previous Year Question Paper

AL-402 - Analysis & Design of Algorithms (ADA)

June 2022•AIML•SEMESTER-4
June 2022
Max Marks: 70
Duration: Three Hours
Instructions:

• Note: i) Answer any five questions. eT 5 SsaE & WR Aa Heim or ses &r

• ii) All questions carry equal marks.

Q.1
a)

Explain the various criteria used for analyzing algorithm.

b)

What is merge sort? Explain merge sort algorithm for the list: 65, 47, 24, 83, 91, 14, 53, 12

Q.2
a)

Write the algorithm for Stassen's matrix multiplication.

b)

Define Kruskal's algorithm and also write down the steps for the Kruskal's algorithm in detail.

Q.3
a)

Explain how job sequencing with deadline can be solved using deadlines.

b)

Explain minimum spanning tree using Prim's algorithm for the given graph below. (graph image with vertices 0-8)

Q.4

Explain Floyd-Warshall algorithm with suitable example.

a)Unit 1

Explain how job sequencing with deadline can be solved using deadlines.

Q.5
a)

Find optimal solution for 0/1 Knapsack problem (w1, w2, w3, w4) = (10, 10, 12, 18); (P1, P2, P3, P4) = (2, 4, 6, 0) and M = 15.

b)

Explain in detail 8-Queens problem.

Q.6
a)

Write about different types of bounding functions with example.

b)

Find the optimal solution using least cost branch and bound with n = 4, m = 15. (w1, w2, w3, w4) = (3, 5, 6, 9); (P1, P2, P3, P4) = (15, 15, 17, 23)

Q.6
a)Unit 1

Write about different types of bounding functions with example.

b)Unit 1

Find the optimal solution using least cost branch and bound with n=4, m=15.

Q.7
a)Unit 1

Discuss in detail P, NP, NP complete and NP Hard problems with examples.

Q.7

Discuss in detail P, NP, NP complete and NP Hard problems with examples.

a)Unit 1

Find optimal solution for 0/1 Knapsack problem

Q.8
a)Unit 1

Binary search trees

Exam Questions
This image contains a section of an exam paper with questions numbered 6, 7, and 8. Question 6 asks to explain bounding functions and solve an optimization problem using least cost branch and bound. Question 7 asks to discuss P, NP, NP complete, and NP Hard problems. Question 8 requires short notes on any three topics from a list including binary search trees, Huffman coding, multistage graph, Hamiltonian cycle, and quick sort. The paper also includes questions in Hindi and a list of options for a question on the right side. Document identifier 'AL/CD-402 (GS)' is visible at the bottom.
b)Unit 1

Huffman coding

c)Unit 1

Multistage graph

d)Unit 1

Hamiltonian cycle

e)Unit 1

Quick sort.

Q.8

Write short notes on any three of the following. a) Binary search trees b) Huffman coding c) Multistage graph d) Hamiltonian cycle e) Quick sort.

a)Unit 1

0/1 Knapsack problem

Q.12
b)Unit 1

Explain in detail 8-Queens problem.