B.Tech II Year II Semester Examinations, May - 2019
DESIGN AND ANALYSIS OF ALGORITHMS
(Common to CSE, IT)
Time: 3 hours
Max. Marks: 75
Note: This question paper contains two parts A and B.
--- Content provided by FirstRanker.com ---
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. Each question carries 10 marks.
PART - A (25 Marks)
-  - Define Pseudo code. (2 Marks)
- Write the time complexity of merge sort and quick sort. (3 Marks)
- What is spanning tree? (2 Marks)
- Define principle of optimality. (3 Marks)
- What is Back Tracking? (2 Marks)
- Define Graph Coloring. (3 Marks)
- Write any two differences between Dynamic Programming and Greedy Method. (2 Marks)
- What is the use of Lower Bound Theory? (3 Marks)
- Define NP-Hard and NP-Complete problems. (2 Marks)
- What do you mean by state space tree? (3 Marks)
 --- Content provided by FirstRanker.com --- --- Content provided by FirstRanker.com --- 
PART - B (50 Marks)
(Answer any one full question from each unit. Each question carries 10 marks)
UNIT - I
-  Explain different Asymptotic notations with examples. OR --- Content provided by FirstRanker.com --- Explain Binary search algorithm with example.
UNIT - II
-  Write an algorithm for finding minimum spanning tree using prim’s algorithm. OR Find single source shortest path for the following graph using Dijkstra’s algorithm.
UNIT - III
-  Solve the following 0/1 Knapsack problem using dynamic programming. Number of items n=4, Capacity of knapsack m=5. Weights (w1, w2, w3, w4) = (2, 3, 4, 5) and Values (p1, p2, p3, p4) = (3, 7, 2, 9). OR Explain optimal binary search tree with example.
--- Content provided by FirstRanker.com ---
UNIT - IV
-  Explain Graph coloring with example. OR Explain Sum of subsets problem with example.
UNIT - V
-  Explain NP-Hard and NP-Complete problems with examples. OR Explain Clique Decision Problem.
---oo0oo---
--- Content provided by FirstRanker.com ---
Visit FirstRanker.com for more question papers.
This download link is referred from the post: JNTU Kakinada B-Tech 1-1 last 10 year question papers 2009 -2019 -All regulation- All branches- 1st Year 1st Sem
--- Content provided by FirstRanker.com ---
