JNTU

JNTU B.Tech IV ADVANCED ALGORITHMS Previous Question Paper (June - 2024 - R16)

B.Tech | IV | II | R16 | June - 2024

Answer PaperPaper Code: 138ACMaximum Marks: 75Time: 3 Hours

Note: i) Question paper consists of Part A, Part B.
ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions.
iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.

Part A

125 marks
a

Define dynamic programming.

2 marks

Answer

Dynamic programming is an algorithmic paradigm that solves complex problems by breaking them down into simpler overlapping subproblems, solving each subproblem once, and storing the results to avoid redundant computations.

b

Discuss the role of algorithms in computing.

3 marks

Answer

Algorithms serve as the fundamental building blocks of computing, providing a systematic, step-by-step procedure to transform input data into a desired output. They determine the efficiency of software by optimizing resource usage, such as time and memory, and enable the automation of complex decision-making processes across all domains of computer science.

c

Define greedy method.

2 marks

Answer

Sign in to view the complete answer paper.

d

Discuss about maximum flow algorithm.

3 marks

Answer

Sign in to view the complete answer paper.

e

What is linear equation?

2 marks

Answer

Sign in to view the complete answer paper.

f

Give a brief summary on merging network.

3 marks

Answer

Sign in to view the complete answer paper.

g

What is the best case of Naive algorithm for pattern searching?

2 marks

Answer

Sign in to view the complete answer paper.

h

What is the average and best-case running time of the Rabin-Karp algorithm?

3 marks

Answer

Sign in to view the complete answer paper.

i

What is non-deterministic algorithm?

2 marks

Answer

Sign in to view the complete answer paper.

j

Discuss about vertex cover problem.

3 marks

Answer

Sign in to view the complete answer paper.

Part B

2

Compute the following sequences of keys in ascending order with quick sort method: 21, 54, 34, 10, 91, 70, 50, 65, 53, 23, 33.

10 marks

Answer

Sign in to view the complete answer paper.

OR
3

Give an example to explain in detail matrix chain multiplication using dynamic programming.

10 marks

Answer

Sign in to view the complete answer paper.

4

What is Topological sorting? Illustrate topological sorting with algorithm.

10 marks

Answer

Sign in to view the complete answer paper.

OR
5

What is minimum cost spanning tree? Write algorithm for Kruskal’s technique with illustration.

10 marks

Answer

Sign in to view the complete answer paper.

6

Discuss in detail bitonic Sorting Networks with an example.

10 marks

Answer

Sign in to view the complete answer paper.

OR
7

Explain in detail about the representation of inverting matrices.

10 marks

Answer

Sign in to view the complete answer paper.

8

Describe briefly about Knuth-Morris-Pratt algorithm with a suitable example.

10 marks

Answer

Sign in to view the complete answer paper.

OR
9

Discuss in detail about matching of a string using finite automata. Give example.

10 marks

Answer

Sign in to view the complete answer paper.

1010 marks
a

Explain about Polynomial time and polynomial time verification.

5 marks

Answer

Sign in to view the complete answer paper.

b

Distinguish between NP-hard and NP-complete.

5 marks

Answer

Sign in to view the complete answer paper.

OR
11

Write an approximation algorithm for Travelling Sales person problem and implement for the given graph.

10 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the solved question paper with answers of ADVANCED ALGORITHMS from JNTU for B.Tech CSE IV II, June - 2024, R16.

For the question paper without answers, switch to the Question Paper tab.

Other papers in ADVANCED ALGORITHMS

Loading Question Papers

Fetching data from database...