Jawaharlal Nehru Technological University Hyderabad

Jawaharlal Nehru Technological University Hyderabad B.Tech II DESIGN AND ANALYSIS OF ALGORITHMS Previous Question Paper (December - 2017 - R15)

B.Tech | II | II-II | R15 | December - 2017

Answer PaperPaper Code: 124CBMaximum Marks: 75Time: 3 Hours

Note: This question paper contains two parts A and B. Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit.

Part A

125 marks
a

Write about Divide and conquer general method.

2 marks

Answer

Divide and conquer is an algorithmic paradigm that breaks a problem into smaller sub-problems of the same type, solves them recursively, and combines their solutions to obtain the solution to the original problem. It follows three steps: Divide the problem into sub-problems, Conquer by solving sub-problems recursively, and Combine the solutions.

b

Define any three asymptotic notations.

3 marks

Answer

The three common asymptotic notations are:

  1. Big-O Notation (O): Provides an upper bound on the growth rate of an algorithm's running time.
  2. Omega Notation (Ω): Provides a lower bound on the growth rate of an algorithm's running time.
  3. Theta Notation (Θ): Provides both an upper and lower bound, indicating the tight bound of the growth rate.
c

List the applications of Greed method.

2 marks

Answer

Sign in to view the complete answer paper.

d

Give an example for single source shortest Path problem.

3 marks

Answer

Sign in to view the complete answer paper.

e

Give the general method for Dynamic programming.

2 marks

Answer

Sign in to view the complete answer paper.

f

Explain about line and dead node.

3 marks

Answer

Sign in to view the complete answer paper.

g

Explain the variable method in sum of subsets.

2 marks

Answer

Sign in to view the complete answer paper.

h

State the Graph coloring problem with an example.

3 marks

Answer

Sign in to view the complete answer paper.

i

Give an example for NP-Hard Problem.

2 marks

Answer

Sign in to view the complete answer paper.

j

Differentiate Deterministic algorithms and non-deterministic algorithms.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

Define Space Complexity. Compute space complexity for an algorithm to find factorial of a given number.

5 marks

Answer

Sign in to view the complete answer paper.

b

Illustrate the methods to find the connected components in a graph.

5 marks

Answer

Sign in to view the complete answer paper.

OR
310 marks
a

Explain how divide and conquer method is used to implement Merge sort technique with its Time complexity.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write an algorithm for Quick sort.

5 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Write Kruskal’s Algorithm.

5 marks

Answer

Sign in to view the complete answer paper.

b

Generate the MCST for the graph given in Figure 1 by applying Kruskal’s algorithm.

5 marks

Answer

Sign in to view the complete answer paper.

OR
510 marks
a

Discuss the Job sequencing with deadlines problem.

5 marks

Answer

Sign in to view the complete answer paper.

b

Illustrate 0/1 Knapsack problem with Greed approach.

5 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Explain Multi stage graph problem.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain the reliability design problem.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Explain all pairs shortest path problem with the graph given in figure 2.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write an algorithm of Optimal Binary Search Trees.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

Explain 4-Queen’s problem.

5 marks

Answer

Sign in to view the complete answer paper.

b

Discuss LC branch and bound solution for 0/1 Knapsack problem.

5 marks

Answer

Sign in to view the complete answer paper.

OR
910 marks
a

Illustrate the Hamilton cycles problem with backtracking method.

5 marks

Answer

Sign in to view the complete answer paper.

b

Explain travelling sales person problem applying Branch and bound method.

5 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

What is NP-Complete class? Give any two examples.

5 marks

Answer

Sign in to view the complete answer paper.

b

Briefly explain Cooks-theorem.

5 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Compare NP-Hard and NP-Complete classes.

5 marks

Answer

Sign in to view the complete answer paper.

b

Give any two examples for non-deterministic algorithms.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of DESIGN AND ANALYSIS OF ALGORITHMS from Jawaharlal Nehru Technological University Hyderabad for B.Tech IT II II-II, December - 2017, R15.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in DESIGN AND ANALYSIS OF ALGORITHMS

Loading Question Papers

Fetching data from database...