JNTU

JNTU B.Tech III DATA STRUCTURES Previous Question Paper (February - 2023 - R16)

B.Tech | III | II | R16 | February - 2023

Answer PaperPaper Code: 136EVMaximum 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

What is the need of asymptotic notation?

2 marks

Answer

Asymptotic notation is needed to represent the efficiency of an algorithm in terms of input size, independent of machine-specific factors like hardware speed or compiler optimizations. It provides a mathematical framework to describe the growth rate of an algorithm's time or space complexity, allowing for the comparison of different algorithms.

b

Compare data type with data structure.

3 marks

Answer

A data type is a classification of data that tells the compiler or interpreter how the programmer intends to use the data (e.g., int, float, char), defining the range of values and operations possible. A data structure is a specialized format for organizing, processing, retrieving, and storing data, which may involve grouping multiple data types together (e.g., arrays, linked lists, trees) to manage data efficiently.

c

In which situations a stack is preferred over a queue?

2 marks

Answer

Sign in to view the complete answer paper.

d

What are the challenges in implementing circular queue?

3 marks

Answer

Sign in to view the complete answer paper.

e

What is a max heap? Give an example.

2 marks

Answer

Sign in to view the complete answer paper.

f

List the applications of threaded binary tree.

3 marks

Answer

Sign in to view the complete answer paper.

g

What are the limitations of binary search?

2 marks

Answer

Sign in to view the complete answer paper.

h

How can a heap be used in sorting?

3 marks

Answer

Sign in to view the complete answer paper.

i

What is a trie? Give example.

2 marks

Answer

Sign in to view the complete answer paper.

j

What is the significance of colours in red-black tree?

3 marks

Answer

Sign in to view the complete answer paper.

Part B

210 marks
a

How to compute best case complexity of an algorithm? Give illustration.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write an algorithm to find largest of three given numbers and perform its analysis.

5 marks

Answer

Sign in to view the complete answer paper.

OR
3

Write an algorithm to concatenate two single linked list and explain it by tracing with appropriate input.

10 marks

Answer

Sign in to view the complete answer paper.

410 marks
a

Demonstrate usage of stack in converting an infix expression into a postfix expression.

5 marks

Answer

Sign in to view the complete answer paper.

b

How to implement queue using stacks? Give your justification.

5 marks

Answer

Sign in to view the complete answer paper.

OR
5

Write a C program to create a double ended queue using arrays and perform insertion and deletion operations.

10 marks

Answer

Sign in to view the complete answer paper.

610 marks
a

Explain the properties of binary tree.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write a program to implement max priority queue.

5 marks

Answer

Sign in to view the complete answer paper.

OR
710 marks
a

Which graph representation approach is preferred in programming? Justify your answer.

5 marks

Answer

Sign in to view the complete answer paper.

b

Make a comparison of breadth first search and depth first search traversals.

5 marks

Answer

Sign in to view the complete answer paper.

810 marks
a

How to handle collisions in hashing? Explain with an example.

5 marks

Answer

Sign in to view the complete answer paper.

b

Compare the algorithm complexities of linear search and binary search.

5 marks

Answer

Sign in to view the complete answer paper.

OR
9

Sort the following numbers using radix sort, explain each pass: 3423 1238 9017 7756 5487 9836 2567 1100

10 marks

Answer

Sign in to view the complete answer paper.

10

With suitable example, demonstrate insertion and deletion operations on a binary search tree.

10 marks

Answer

Sign in to view the complete answer paper.

OR
1110 marks
a

Illustrate different types of rotations used for AVL trees.

5 marks

Answer

Sign in to view the complete answer paper.

b

Write the steps of Knuth-Morris-Pratt algorithm for pattern matching.

5 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the solved question paper with answers of DATA STRUCTURES from JNTU for B.Tech CSE III II, February - 2023, R16.

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

Other papers in DATA STRUCTURES

Loading Question Papers

Fetching data from database...