Data Structures and Algorithms
Covers fundamental data structures (trees, graphs, hash tables) and algorithm analysis (asymptotic notation, sorting algorithms)
Questions
Which of the following is a dynamically updateable disk based index structure, which implements a hashing scheme and grows or shrink one bucket at a time?
- Double Hashing
- Linear Hashing
- Buckets
- Probe Sequence
- Dynamic Hashing
Which of the following is a special case of tree, where no node of a tree can have a degree more than two?
- Bionomial Tree
- Spanning Tree
- Binary Tree
- Edge
- Leaves
Which of the following sorts solves the problem of card sorting counterintuitively by sorting on the least significant digit first?
- Counting Sort
- Radix Sort
- Merge Sort
- Decision Tree
- Algorithm
Which of the following expresses the lower bound of the running time of an algorithm?
- Big-Omega Notation
- Little-O Notation
- Space Complexity
- Time Complexity
- Effectiveness
If information like cost is associated to the traversal of an edge, then what is the graph called?
- Null Graph
- Strongly Connected Graph
- Path
- Edge
- Weighed Graph
Which of the following hashings achieves its goal by merging the concepts of a radix search tree and hashing?
- Double Hashing
- Extendible Hashing
- Probe Sequence
- Chaining
- Dynamic Hashing
Which of the following sorts runs linear time, when input is drawn from a uniform distribution?
- Counting Sort
- Bucket Sort
- Decision Tree
- Merge Sort
- Direct Sequence
Which of the following asymptotic notations represents the upper bound and the lower bound of the running time of an algorithm?
- Space Complexity
- Little-O Notation
- Theta Notation
- Time Complexity
- Algorithm
In which of the following, we start searching the hash table sequentially from the beginning of the original hash location, and if a location is occupied, we check the next location?
- Double Hashing
- Buckets
- Directory
- Linear Probing
- Dynamic Hashing
Which of the following is the method of expressing the loose lower bounds of the running time of an algorithm?
- Little-O Notation
- Little-Omega Notation
- Time Complexity
- Space Complexity
- Effectiveness
Which of the following graphs has more than one edge between the same two vertices?
- Directed Graph
- Undirected Graph
- Null Graph
- Multi Graph
- Edge
If the number of edges are far less than square of modulus of vertex, then what is the graph called?
- Sparse Graph
- Null Graph
- Directed Graph
- Strongly Connected Graph
- Edge
Which of the following functions is used for expressing the upper bound of the running time of an algorithm?
- Little-O Notation
- Time Complexity
- Big-O Notation
- Program
- Space Complexity
By which of the following schemes, primary clustering problem can be almost eliminated?
- Chaining
- Double Hashing
- Buckets
- Quadratic Probing
- Dynamic Hashing
In which of the following sorts, division into sublist is done through the choice and use of a pivot value, which is a value in the given list so that all values in the list less than the pivot and the rest in the other list?
- Quick Sort
- Merge Sort
- Decision Tree
- Counting Sort
- Algorithm