DS QB Part B
DS QB Part B
24. Explain the operation of inserting an element at the front, middle and at the rear in a double linked list.
(Nov 2018)
25. Illustrate the algorithm to display the content of a stack with an example. (Nov 2018)
26. What is a stack? Explain its operations with example. (MAY 2019)
UNIT II
1. What is queue ADT? Explain insertion and deletion operations of queue using array
implementation.
2. Explain about the implementation of queue using linked list with example.(Apr 2015)
(a) Describe about the array implementation of circular queue.Apr 2015.
(b) Give the limitations of queues.Apr 2015.
3. What is linked list and how can we implement using array Apr 2015.
4. Explain circular queue an element into insert and deletion with suitable example. April 2017 (MAY
2019)
5. Write short notes on priority queue. (Apr 2011) (Nov 2018(5)) (MAY 2019)
6. Explain about the implementation of queue using linked list with example.(Apr 2015)
7. How to represent polynomials using sparse matrix and explain with example? Apr 2015.
8. Explain the following: (a) Priority Queue. (b) Double ended queues.(11)-Apr 2015.
9. Write short notes on doubly ended queue and its operation.
10. State and explain the algorithm used to perform addition of two polynomials using linked list.
11. Dec 2014.
12. Explain representation of polynomials and sparse matrices with an application of its use.Dec
13. 2014.
14. Explain any two applications of queues. (Apr 2012)
15. write an algorithm to implement a queue using array and to enqueue an element into it .(April
2017)
16. Briefly explain the operations of queue with an example. (Nov 2018)
UNIT III
1. Define binary tree. Explain the binary tree traversal techniques with suitable example. (Nov 2011)
2. Explain the array representation of binary tree. Give the drawbacks associated with it. (Apr 2012)
3. Explain the linked list representation of binary tree. (Nov 2011)
4. Explain the various traversals of binary tree with illustrations. (Apr 2012,April 2017)
5. Define binary search tree. Explain BST algorithm for insert, delete, find min and find max operations.
(Apr 2011)
6. Define AVL tree. Explain the operations of AVL tree with suitable example. (Apr 2011,April 2017)
7. Explain B tree indexing in detail.
8. Explain the method of inserting a new record in a B+ tree. (Nov 2011)
9. Explain the method of deleing a record in a B+ tree with illustrations. (Apr 2012)
10. Discuss tree indexing with algorithm and example.
11. (a) Explain in detail about depth first search. Apr 2015.
(b) Write the routine for performing breadth first search. Apr 2015.
12 (a) Traverse the example tree using inorder, preorder and post order traversal. Apr 2015.
(b) Illustrate array and linked list implementation of binary trees. Apr 2015.
13. Compare binary tree and binary search tree with example.Apr 2015.
14. (a) Insert the example numbers into a binary search tree: 8, 5, 10, 15, 20, 18,3.Apr 2015.
(b) What is tree? Give some of the applications of trees.Apr 2015
15. (a) state the operations performed in a stack? How many times you will pop a stack of 10 elements to
reach the sixth element from the top? Discuss any two applications of stack and queue.Dec
2014.
16. Write an algorithm to perform the operations for a queue data structure. Explain priority queue with an
Example (11)-Dec 2014.
17. Paraphrase Splay tree with an example. (Nov 2018(5))
18. Discuss the B+ tree and compare with B tree. (Nov 2018(6))
19. Explain the process of finding the minimum and maximum element of binary search tree. (Nov 2018)
20. Explain in detail insertion into AVL trees. (MAY 2019)
21. Write a routine to perform insertion and deletion in B-tree.(MAY 2019)
UNIT IV
2. Explain quick sort algorithm with a suitable example. Discuss the best, average and worst case
analysis of the same. (Apr 2012,2015, April 2017)
5. Write the procedure for heap sort and trace the given numbers: 18, 13, 10, 8, 5, 15(11)-Apr 2015.
6. Write the routine for insertion sort and perform insertion sort with own example (11)-Apr 2015.
7. Write down the insertion sort algorithm with example. Discuss the best, average and worst case
analysis of the same. (Apr 2012)
10. Explain the merge sort algorithm using the following set of data. Compare the result by
constructing heap sort for the same set of data: 45, 32, 71, 27, 53, 33, 12, 67.Dec 2014.
11. Describe radix sort algorithm with a suitable example. (Nov 2011)
12. Compare and contrast the four sorting techniques, bubble sort, quick sort, merge sort and radix sort.
(Apr 2011)
15. Explain the insert and delete operations of heap with an example. (Nov 2018)
16. With a neat diagram, explain about radix sort with an example. (Nov 2018)
17. Sort the following numbers using Quick sort procedure and discuss the time and space complexity
of this algorithm. 42,12,-8,98,67,83,08,104,7 (MAY 2019)
18. Difference between merge sort and radix sort with suitable example. (MAY 2019)
UNIT V
1. Define hash function. Explain the routine for simple hash function.
3. What do you mean by hashing? Explain the various hashing functions. (Nov 2011)
6. Explain in detail the undirected graphs and directed graphs and their traversals. (Apr 2011, April
2017)
8. Discuss the BFS algorithm in detail with suitable example. (Nov 2018(6))
9. Write the routine for performance breadth first search. Apr 2015.
10. Explain the different tree traversal algorithms. Illustrate the inorder, preorder and postorder
traversal with an example (11)-Dec 2014.
11. Compare the breadth first search and depth first search algorithm and illustrate with an example
(11)-Dec 2014.
12. What is a minimum spanning tree? How is it related to finding the shortest paths? State the
implementation of Prim’s algorithm for minimum spanning tree. (Apr 2011)
13. Find the minimum cost spanning tree for given graph using Kruskal’s algorithm.( April 2017)
15. Describe about the application of hashing and explain about the rehashing. (Nov 2018)
16. What do you mean by topological sorting? And write the routine to perform topological sort with
example (Apr 2015) (MAY 2019)
17. Explain different types of hash function with example. (MAY 2019)