Question Bank Bsc. Ii Year Data Structures Short Answers Type Questions
Question Bank Bsc. Ii Year Data Structures Short Answers Type Questions
BSc. II YEAR
DATA STRUCTURES
1
30.Explain the use of graph in data structures?
Long Answers Type Questions
1. What do you mean by Array? Describe the storage structure of array. Also
explain various types of array in detail.
2. What is stack? Why it is known as LIFO? Write algorithm of PUSH and
POP operation on stack.
3. What is queue? Why it is known as FIFO? Write an algorithm to insert and
delete an element from a simple queue.
4. Explain circular queue? Write an algorithm to insert and delete an element
from a circular queue.
5. Explain how to represent singly linked list with help of diagram and
example.
6. What is minimum spanning tree. Write algorithm to find the minimum
spanning tree.
7. Write and explain algorithm to insert element at the beginning of circular
linked list.
8. Explain algorithm to delete element from circular linked list.
9. Write and explain algorithm to insert element at the beginning of singly
linked list.
10.Explain algorithm to delete element from singly linked list.
11.Write and explain algorithm to insert element at the beginning of doubly
linked list.
12.Explain algorithm to delete element from doubly linked list.
13.What is tree traversal. Explain the in-order, preorder and post-order
traversal.
14.Differentiate between depth first search and breadth first search.
15.Explain how infix expressions are converted to polish notation. Illustrate
your answer with suitable example?
16.Explain the implementation of circular queue using array. How an “empty
queue” is distinguished from a “full queue”? Write necessary functions to
perform all valid operations on circular queue.
17.Write down the steps to invert a singly-linked list to circular linked list?
18.Explain quick sort algorithm with the help of an example.
19.Explain heap sort. Construct heap sort for the initial key set 42, 23, 74,11,
65,58,94,36,99,87.
20.Discuss the advantages and disadvantages of linked list over array?
2
21.Write an algorithm for binary search and discuss its speed compared with
linear search.
22.Discuss the improvement in performance of binary trees brought by using
threads.
23.Discuss the difference between a general tree and a binary tree. What is a
complete binary tree? Give an algorithm for deleting a value X from a
given binary tree.
24.Write an algorithm for the depth first search of a graph? State its
advantages and disadvantages?
25.Explain the Prim's algorithm to find minimal spanning tree for a graph.
26.Explain the Kruskal’s algorithm to find minimal spanning tree for a graph.
References
1. Das, Vinu V. Principles of data structures using C and C++. New Age
International, 2006.
2. Software Engineering: A Practitioner's Approach, Author: Roger S. Pressman
3. Data Structures Through C (A practical Approach), Author: G.S. Baluja
4. An Integrated Approach to Software Engineering Author: Pankaj Jalote
5. Data Structures using C++ Author: D.S. MalikSecond Edition
6. Principles of Data Structures using C and C++ Author: Vinu V Das New Age
International Publishers
7. A Practical Introduction to Data Structures and Algorithm Analysis Author:
Clifford A. Snaffer Third Edition (Java)
8. Data Structures and Algorithms Made Easy Narasimha Karumanchi