Data Structure
Covers fundamental data structures including stacks, trees, linked lists, graphs, and hash tables, along with their operations and properties.
Questions
Which of the following conditions is checked into the stack before performing the 'insertion' operation?
- Underflow
- Overflow
- Top
- Push
- Pop
In which of the following binary trees is every level, except possibly the last, completely filled?
- Complete binary tree
- Skewed binary tree
- Full binary tree
- Forest
- Height
In which of the following linked lists is the null pointer in the last node replaced with the address of the first node?
- Doubly linked list
- Singly linked list
- Circular linked list
- Queues
- Stacks
Which of the following graphs has more than one edge between the same two vertices?
- Weighted graph
- Multigraph
- Sparse graph
- Acyclic graph
- Null graph
Which of the following properties is a transitive relation defined on the elements of the list and specified by the sequence in which the elements appear within the list?
- Depth
- Length
- Order
- Degree
- Height
Which of the following operations is also called processing of each node of linked list exactly once?
- Sorting
- Searching
- Traversing
- Insertion
- Deletion
Which of the following techniques is used to collect all the free cells and store them in free pool?
- Free storage list
- Garbage collection
- Traversing
- Searching
- Sorting
Which of the following traversal techniques begins with the root, then proceeds towards the end of the left subtree and then, towards the right subtree?
- Inorder
- Postorder
- Preorder
- Push
- Pop
Which of the following conditions must be verified before inserting a new element into the stack?
- Underflow
- Overflow
- Top
- Push
- Pop
Which of the following graphs has no path and starts and ends at the same vertex?
- Weighted graph
- Multigraph
- Acyclic graph
- Strongly connected graph
- Null graph
Which of the following data structures can be defined as an undirected tree of a connected graph G which is composed of all the vertices and the edges necessary to connect all the nodes of graph G?
- Spanning forest
- Stacks
- Queues
- Spanning tree
- Null graph
Which of the following properties is the maximum level attributed to any element within the list or within any sublist in the list?
- Order
- Length
- Depth
- Degree
- Path
Which of the following techniques can be used for implementing indexes?
- Linear search
- Binary search
- Hashing
- Sorting
- Traversing
Which of the following parts is read and written by a system?
- Directory
- Buckets
- Front
- Top
- Rear
Which of the following types of external sorting techniques is the one in which the basic idea is to distribute ordered initial runs of predetermined size on the available tapes and repeatedly merge these runs in multiple phases, in which each phase has a predetermined number of merges before the target tape is selected?
- Tape drive merge sort
- Insertion sorting
- Polyphase sorting
- Bubble sorting
- Selection sorting