Data Structures
This test covers topics related to data structures.
Questions
Which of the following data structures is usually used in compiler implementations to look up identifiers?
- B-tree
- Hash table
- Dequeue
- Set
- Bitmap
Which of the following is a linked abstract data structure, composed of nodes?
- Circular buffer
- Bitmap
- Graph
- Tagged union
- Container
Which of the following data structures is not an abstract data type?
- Union
- Map
- Set
- Container
- Priority queue
Which of the following statements regarding a priority queue is false?
- A priority queue is an abstract data type.
- A priority queue is a heap.
- Priority queuing can be used to manage bandwidth on a transmission line.
- A priority queue can be used for implementing Huffman coding.
- A priority queue can be used for implementing A* search algorithm.
Which of the following data structures follows this rule?
undefined
- Tree
- Stack
- Queue
- String
- Set
Which of the following is not an application of the tree data structure?
- Manipulation of arithmetic expression
- Symbol table construction
- Syntax analysis
- Hierarchical network
- Recursion
The network data model majorly uses which of the following data structures?
- Set
- Linked list
- Arrays
- Graph
- Tree
The technique called 'Quadratic Probing' is generally used with which of the following data structures?
- Linked list
- B-tree
- Hash table
- Heap
- Queue
Which of the following data structures is the most efficient for storing data for efficient retrieval in a block-oriented storage context?
- Simple linked list
- BST
- B+ tree
- Hash table
- AVL tree
Which of the following algorithms may use heap as internal traversal data structures?
- Bucket sort
- Prim's minimal spanning tree
- Bubble sort
- Shell sort
- Comb sort
The Breadth First Search algorithm uses which of the following data structures to store intermediate results as it traverses the graph?
- Tree
- Linked list
- Stack
- Queue
- Set
Which of the following statements regarding tree data structure is false?
- A tree is a widely used abstract data type (ADT).
- A tree can be defined recursively.
- A walk in which the children are traversed before their respective parents are traversed is called a pre-order walk.
- An external node is any node that does not have child nodes.
- A tree is a connected acyclic graph.
Which of the following statements regarding arrays is incorrect?
- Arrays can be used to determine control flow in programs.
- Arrays are also used to implement other data structures.
- Two-dimensional arrays are also called matrices.
- The element indices of arrays cannot be computed at run time.
- An index maps the array value to a stored object.
Which of the following statements regarding the stack data structure is false?
- Solving the puzzle called Tower of Hanoi implements stacks.
- A stack is a restricted data structure.
- A stack may be implemented to have a bounded capacity.
- A stack is a specific data structure.
- Backtracking is an important application of stacks.