1 (a)
What is recursion ? State its advantages and disadvantages.
5 M
1 (b)
What is AVL tree ? Explain with example.
5 M
1 (c) (i)
Abstract data type
2 M
1 (c) (ii)
Binary tree
2 M
1 (C) (iii)
Graph
1 M
1 (d)
Construct Huffman code for C++JAVA
5 M
2 (a)
Explain different types of tree traversal techniques. Explain each with suitable example.
10 M
2 (b)
Explain different ways to represent a graph. Give example.
10 M
3 (a)
Write a program to implement queue using array.
10 M
3 (b)
Explain any two applications of stack using a program.
10 M
4 (a)
Explain the working of merge sort and sort the following elements :
50 , 10 , 20 , 40 , 5 , 60 , 35
50 , 10 , 20 , 40 , 5 , 60 , 35
10 M
4 (b)
Explain circular and priorty queue.
10 M
5 (a)
Write a program to create a doubly linked list and perform the following operations
(i) Insert into the list
(ii) Delete from the list
(iii) Search for a data
(i) Insert into the list
(ii) Delete from the list
(iii) Search for a data
9 M
5 (b)
Write a Java program that reads a text file and counts all occurrences of a word.
11 M
6 (a)
What is hashing ? Hash the following in a table size of 11. Use any two collision techniques.
20, 5 ,10, 11, 22, 33, 40, 50, 30, 51, 31
20, 5 ,10, 11, 22, 33, 40, 50, 30, 51, 31
10 M
6 (b)
Construct binary tree for inorder and postorder traversal sequence given below.
Inorder = INFORMATION
Postorder= INOFMAINOTR
Inorder = INFORMATION
Postorder= INOFMAINOTR
10 M
Write short notes on any four of the following :-
7 (a)
Comparison of sorting algorithm
5 M
7 (b)
B+ trees
5 M
7 (c)
Binary search
5 M
7 (d)
Prefix and postfix forms of expressions.
5 M
7 (e)
Asymptotic notation
5 M
7 (f)
Tower of Hannoi
5 M
More question papers from Data Structures