Data Structures and Algorithms

Covers fundamental data structures (trees, graphs, hash tables) and algorithm analysis (asymptotic notation, sorting algorithms)

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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?

  1. Double Hashing
  2. Linear Hashing
  3. Buckets
  4. Probe Sequence
  5. Dynamic Hashing
Question 2 Multiple Choice (Single Answer)

Which of the following is a special case of tree, where no node of a tree can have a degree more than two?

  1. Bionomial Tree
  2. Spanning Tree
  3. Binary Tree
  4. Edge
  5. Leaves
Question 3 Multiple Choice (Single Answer)

Which of the following sorts solves the problem of card sorting counterintuitively by sorting on the least significant digit first?

  1. Counting Sort
  2. Radix Sort
  3. Merge Sort
  4. Decision Tree
  5. Algorithm
Question 4 Multiple Choice (Single Answer)

Which of the following expresses the lower bound of the running time of an algorithm?

  1. Big-Omega Notation
  2. Little-O Notation
  3. Space Complexity
  4. Time Complexity
  5. Effectiveness
Question 5 Multiple Choice (Single Answer)

If information like cost is associated to the traversal of an edge, then what is the graph called?

  1. Null Graph
  2. Strongly Connected Graph
  3. Path
  4. Edge
  5. Weighed Graph
Question 6 Multiple Choice (Single Answer)

Which of the following hashings achieves its goal by merging the concepts of a radix search tree and hashing?

  1. Double Hashing
  2. Extendible Hashing
  3. Probe Sequence
  4. Chaining
  5. Dynamic Hashing
Question 7 Multiple Choice (Single Answer)

Which of the following sorts runs linear time, when input is drawn from a uniform distribution?

  1. Counting Sort
  2. Bucket Sort
  3. Decision Tree
  4. Merge Sort
  5. Direct Sequence
Question 8 Multiple Choice (Single Answer)

Which of the following asymptotic notations represents the upper bound and the lower bound of the running time of an algorithm?

  1. Space Complexity
  2. Little-O Notation
  3. Theta Notation
  4. Time Complexity
  5. Algorithm
Question 9 Multiple Choice (Single Answer)

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?

  1. Double Hashing
  2. Buckets
  3. Directory
  4. Linear Probing
  5. Dynamic Hashing
Question 10 Multiple Choice (Single Answer)

Which of the following is the method of expressing the loose lower bounds of the running time of an algorithm?

  1. Little-O Notation
  2. Little-Omega Notation
  3. Time Complexity
  4. Space Complexity
  5. Effectiveness
Question 11 Multiple Choice (Single Answer)

Which of the following graphs has more than one edge between the same two vertices?

  1. Directed Graph
  2. Undirected Graph
  3. Null Graph
  4. Multi Graph
  5. Edge
Question 12 Multiple Choice (Single Answer)

If the number of edges are far less than square of modulus of vertex, then what is the graph called?

  1. Sparse Graph
  2. Null Graph
  3. Directed Graph
  4. Strongly Connected Graph
  5. Edge
Question 13 Multiple Choice (Single Answer)

Which of the following functions is used for expressing the upper bound of the running time of an algorithm?

  1. Little-O Notation
  2. Time Complexity
  3. Big-O Notation
  4. Program
  5. Space Complexity
Question 14 Multiple Choice (Single Answer)

By which of the following schemes, primary clustering problem can be almost eliminated?

  1. Chaining
  2. Double Hashing
  3. Buckets
  4. Quadratic Probing
  5. Dynamic Hashing
Question 15 Multiple Choice (Single Answer)

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?

  1. Quick Sort
  2. Merge Sort
  3. Decision Tree
  4. Counting Sort
  5. Algorithm