JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech II DESIGN AND ANALYSIS OF ALGORITHMS Previous Question Paper (December - 2017 - R13)

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

Answer PaperPaper Code: 114CSMaximum 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 then combines their solutions to solve the original problem. It follows three steps: Divide the problem into sub-problems, Conquer the sub-problems by solving them recursively, and Combine the solutions to form the final result.

b

Define any three asymptotic notations.

3 marks

Answer

The three common asymptotic notations are:

  1. Big-O Notation (O): Represents the upper bound of an algorithm's running time, providing the worst-case complexity.
  2. Omega Notation (Ω): Represents the lower bound of an algorithm's running time, providing the best-case complexity.
  3. Theta Notation (Θ): Represents the tight bound of an algorithm's running time, where the function is bounded both above and below by the same 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 CSE II II, December - 2017, R13.

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...