Skip to content
Previous Year Question Paper

CS/SD-402 (GS) – Analysis Design of Algorithm

November 2022CSESEMESTER-4
November 2022
Max Marks: 70
Duration: 3 Hours
Instructions:

Attempt any five questions.

All questions carry equal marks.

Q.1
a)Unit 1

Write and explain the control abstraction for Divide and conquer.

b)Unit 1

Explain the theta notation used in algorithm analysis.

Q.2
a)Unit 1

What is an algorithm? Explain its characteristics.

b)Unit 3

Differentiate between greedy method and dynamic programming.

Q.3
Unit 2

Write a greedy algorithm to state the Job-Sequencing with deadlines problem. Find an optimal sequence for n=5 jobs with profits (20,15,10,5,1) and deadlines (2,2,1,3,3).

Q.4
a)Unit 3

What do you mean by forward and backward approach of problem solving in Dynamic Programming?

b)Unit 3

Discuss the need of Floyd Warshall Algorithm. Write the advantages and its time complexity.

Q.5
a)Unit 3

Find minimum path cost between vertex s and t for the given multistage graph using dynamic programming.

b)Unit 4

Discuss the use of lower bound theory and its uses in solving the algebraic problem.

Q.6
a)Unit 4

What is graph coloring problem? Describe the backtracking technique to m-coloring with the given planar graph.

b)Unit 4

Write about Hamiltonian cycle. Draw portion state space tree for the given graph.

Q.7
a)Unit 5

Construct B Tree of order 5 for the list of elements 2,8,5,6,13,9,14,12,19,24,18,15,5,16,20,21.

b)Unit 5

How do you find the height of a balanced tree? Explain with an example.

Q.8
Unit 1/2/5

Write short notes on any two:

i) Binary search

ii) Huffman coding

iii) Tree Traversals

iv) NP completeness.