Vidyalelo
Data Structure · all questions

Hashing
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

175

Questions

8/9

Page

Pick an option on a question to see the right answer and solution.

What is the load factor for an open addressing technique?

Select an option to see the answer and solution.

By implementing separate chaining using list head we can reduce the number of collisions drastically.

Select an option to see the answer and solution.

A hash table may become full in the case when we use open addressing.

Select an option to see the answer and solution.

. . . . . . . . is not a theoretical problem but actually occurs in real implementations of probing.

Select an option to see the answer and solution.

What is the disadvantage of hashing with chaining?

Select an option to see the answer and solution.

What is the worst case time complexity of insert function in the hash table when the list head is used for chaining?

Select an option to see the answer and solution.

In linear probing, the cost of an unsuccessful search can be used to compute the average cost of a successful search.

Select an option to see the answer and solution.

Which of the following is the correct function definition for linear probing?

Select an option to see the answer and solution.

What kind of deletion is implemented by hashing using open addressing?

Select an option to see the answer and solution.

In a hash table of size 10, where is element 7 placed?

Select an option to see the answer and solution.

Which of the following is the hashing function for separate chaining?

Select an option to see the answer and solution.

What data organization method is used in hash tables?

Select an option to see the answer and solution.

Which of the following technique stores data in the hash table itself in case of a collision?

Select an option to see the answer and solution.

What is the expected error for estimating the Jaccard index using MinHash scheme for k different hash functions?

Select an option to see the answer and solution.

Which of the following technique is used for handling collisions in a hash table?

Select an option to see the answer and solution.

Who invented the MinHash technique?

Select an option to see the answer and solution.

In simple uniform hashing, what is the search complexity?

Select an option to see the answer and solution.

What is the table size when the value of p is 7 in multiplication method of creating hash functions?

Select an option to see the answer and solution.

What is the time complexity of the delete function in the hash table using a binary tree?

Select an option to see the answer and solution.

What is the time complexity to delete an element from the direct address table?

Select an option to see the answer and solution.