0

Data Structure

Description: Structured Algorithm Data Structures and AlgorithmsProgramming and Data StructuresData Structure
Number of Questions: 15
Created by:
Tags: Structured Algorithm Data Structures and Algorithms Programming and Data Structures Data Structure
Attempted 0/15 Correct 0 Score 0

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


Correct Option: B
Explanation:

It is a dynamically updateable disk based index structure which implements a hashing scheme and grows or shrinks one bucket at a time.

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


Correct Option: C
Explanation:

It is a special case of tree where no node of a tree can have a degree of more than two.

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


Correct Option: B
Explanation:

It solves the problem of cards sorting counterintuitively by sorting on the least significant digit first.

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


Correct Option: A
Explanation:

It expresses the lower bound of the running time of an algorithm.

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


Correct Option: E
Explanation:

The graph is called Weighed graph, if information like cost is associated to the traversal of an edge.

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


Correct Option: B
Explanation:

It achieves its goal by merging the concepts of a radix search tree and hashing.

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


Correct Option: B
Explanation:

It runs linear time when input is drawn from a uniform distribution.

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


Correct Option: C
Explanation:

It represents the upper bound and the lower bound of the running time of an 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?

  1. Double Hashing

  2. Buckets

  3. Directory

  4. Linear Probing

  5. Dynamic Hashing


Correct Option: D
Explanation:

Here, we start searching the hash table sequentially from the beginning of the original hash location if a location is occupied, we check the next location.

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


Correct Option: B
Explanation:

It is the method of expressing the loose lower bound of the running time of an algorithm.

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


Correct Option: D
Explanation:

It is a graph which has more than one edge between the same two vertices.

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


Correct Option: A
Explanation:

Graph is said to be sparse if the number of edges are far less than square of modulus of vertex.

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


Correct Option: C
Explanation:

It is the function of expressing the upper bound of the running time of an algorithm.

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


Correct Option: D
Explanation:

Primary clustering problem can be almost eliminated if we use quadratic probing scheme.

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


Correct Option: A
Explanation:

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 are put in one list and rest in other list.

- Hide questions