Cs3301 Unit Important Q-Data-Structures
Cs3301 Unit Important Q-Data-Structures
Cs3301 Unit Important Q-Data-Structures
in/
UNIT - l LISTS
2 - Mark
1. Define ADT. Give any two examples.
2. Define list. Mention any two operations that are performed on a list.
3. List out the areas in which data structures are applied extensively.
in
4. Define data structure with example.
5. What is circular linked list?
6. List out the advantage of circular linked list.
n.
aa
7. Distinguish between linear and nonlinear data structures.
8. Interpret the advantages and disadvantages of linked lists over arrays.
iy
14. Compare calloc() and realloc() function and mention its application in linked
w
list.
15. Analyze and write a routine to find position of given element in singly linked
list.
16. Analyze and write the linked list representation of a polynomial:
p(x) = 4x3 + 6x2 +7x+9
17. Should arrays or linked lists be used for the following types of applications?
Support your justification.
i. Many search operations in sorted list.
ii. Many search operations in unsorted list.
18. Compare between linear linked list and circular linked list.
19. Design a routine to delete an element in a linked list.
20. Develop an algorithm for insertion operation in a singly linked list.
https://www.poriyaan.in/paper/data-structure-75/
www.poriyaan.in https://cse.poriyaan.in/
13 - Mark
in
n.
UNIT - II STACKS AND QUEUES aa
2 - Mark
1. Define stack and specify the operations
iy
stack a+b*(c^d-e)^(f+g*h)-i
w
https://www.poriyaan.in/paper/data-structure-75/
www.poriyaan.in https://cse.poriyaan.in/
13 - Mark
in
linked list with an example.
n.
(ii) Describe the function to examine whether the stack is full () or
aa
empty ().
2. Explain Balancing Symbols.
iy
2 – Mark
1. If the depth of binary tree is k, the maximum number of nodes in the
binary free is 2"-1. Prove.
2. Recommend the result of inserting 3,1,4,6.9.2.5,7 into an initially
empty binary search tree.
3. Deline a binary tree. Give an example.
4. Create an expression tree for the expression. ((a + ((b/c)*d))- e)
5. Differentiate AVI. tree and Binary search tree.
6. Give the various types of rotations in AVL tree during the insertion of a node.
7. What are threaded binary trees? Give its advantages
8. Define balance factor of AVI. Tree.
9. Simulate the result of inserting 2, 1. 4, 5, 9, 3, 6, 7 into an initially
https://www.poriyaan.in/paper/data-structure-75/
www.poriyaan.in https://cse.poriyaan.in/
in
18. following key values: 12. 33. 67, 8. 7, 80, 5. 23.
19. Analyze the properties of binary heap.
20.
n.
Define a heap and show how it can be used to represent a priority queue.
aa
13 - Mark
riy
suitable algorithm
w
i) Find a node
w
2 – Mark
1. Define graph.
2. Consider the graph given below. Create the adjacency matrix
https://www.poriyaan.in/paper/data-structure-75/
www.poriyaan.in https://cse.poriyaan.in/
4. Create an undirected graph and its adjacency matrix for the following
specification of a graph G.
in
V(G)=1,2,3.4
n.
G= {(1,2), (1,3), (3,3), (3,4), (4,1)}
aa
5. Differentiate BIS and DIS.
6. What is meant by bi-connected graph?
iy
13 - Mark
w
https://www.poriyaan.in/paper/data-structure-75/
www.poriyaan.in https://cse.poriyaan.in/
2 - Mark
1. What is hashing?
2. Define extendible hashing and give its significance.
3. What is meant by internal and external sorting? Give any two examples for
each type.
4. List the different types of searching
5. Define rehashing.
6. Identify the advantage of shell sort over insertion sort.
in
7. How many passes does the of insertion sort algorithm do to sort a list of 5
n.
elements? What happens in its i" pass?
8. Give the types of collision resolution.
aa
9. Interpret the fastest searching algorithm and give reason.
iy
10. Distinguish between linear and binary search technique.
11. Classify the different sorting methods.
or
3,1,4,1,5.9.2,6.
w
https://www.poriyaan.in/paper/data-structure-75/
www.poriyaan.in https://cse.poriyaan.in/
13 - Mark
in
numbers using binary search.
n.
6. Interpret an algorithm to sort a set of 'N' numbers using bubble sort
and demonstrate the sorting steps for the following set of numbers:
aa
30. 52, 29, 87, 63, 27, 19, 54.
iy
7. Discuss the various open addressing techniques in hashing with an example.
8. (i) Sort the given integers and show the intermediate results using
or
shellsort:39.9.81.45,90,27,72,18.
.p
https://www.poriyaan.in/paper/data-structure-75/
Civil
CSE
Home Mech
e
EEE
CSE –2nd sem Reg 2021 ECE
Physics
Basic for Engineering
Electrical and Data Structure
Problem Solving and Science Engineering
Electronics
Python Programming Object Oriented
Programming in C
Programming
Elective-Management
Professional Elective II
Professional Elective IV