Embed
Email

data structures

Document Sample

Description

data structures question papers

Shared by: Raviteja Reddy
Stats
views:
17
posted:
11/7/2011
language:
English
pages:
2
[EURCS-304/EURIT-304]

B.Tech. DEGREE EXAMINATION

CSE & IT

III SEMESTER

DATA STRUCTURES

(Effective from the admitted batch 2007–08 onwards)

Time: 3 Hours Max.Marks: 60

------------------------------------------------------------------------------------------------------

Instructions: Each Unit carries 12 marks.

Answer all units choosing one question from each unit.

All parts of the unit must be answered in one place only.

Figures in the right hand margin indicate marks allotted.

------------------------------------------------------------------------------------------------------

UNIT-I

1. a) What is a linked list? What are the different types of linked lists?

Explain circular linked list with all the operations that can be

performed on it 6

b) Why a matrix is called sparse? Explain with an example 6

OR

2. a) What are linear lists? Write an algorithm which shows the

operations on linear lists 6

b) What are simulated pointers? Using them, write a program for

DELETE and INSERT operations 6

UNIT-II

3. Write the array and linked list operations of stacks and operations

on it. Mention the applications of stacks (5+5+2)

OR

4. Write the array and linked lists representation of Queues. Write

Queues Applications (5+5+2)

UNIT-III

5. What is a Balanced Tree? List out and write the algorithms for

rotations in AVL Trees 12

OR

6. a) Discuss briefly about the representation of binary trees 6

b) State and explain all binary tree traversals 6

UNIT-IV

7. Write a program for Quick Sort with an example. Show that the

average case time complexity of Quick sort is O(nlogn) (6+6)

OR

8. a) Write a program for Binary search 4

b) Discuss various types of Hashing Techniques 8

UNIT-V

9. What are all different types of graph representations? Explain each

with example 12

OR

10. a) Write Prim’s Algorithm to search an element in a Graph 10

b) Specify the applications of Graphs 2





[3,7/III S/110]


Shared by: Raviteja Reddy
About
Rocking Attractive Variety Idiot Talkative Energetic Joyful Arrogant
Other docs by Raviteja Reddy
basic circuit theory1
Views: 11  |  Downloads: 0
EURME-302_2_new
Views: 19  |  Downloads: 0
probability theory and random process
Views: 16  |  Downloads: 0
em1
Views: 9  |  Downloads: 0
data structures _2_
Views: 47  |  Downloads: 0
electrical circuits
Views: 10  |  Downloads: 0
discrete mathematical structures
Views: 20  |  Downloads: 0
probability and statistics _2_
Views: 10  |  Downloads: 0
advanced engineering mathematics
Views: 23  |  Downloads: 0
Engineering Mechanics
Views: 42  |  Downloads: 0
Related docs
By registering with docstoc.com you agree to our
privacy policy

You are almost ready to download!

You are almost ready to download!