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

3/9

Page

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

What is the main advantage of using a hash function that distributes values uniformly across the hash table?

Select an option to see the answer and solution.

Which of the following techniques involves storing an array of lists in a hash table?

Select an option to see the answer and solution.

In which case is a hash function with a high number of possible output values less effective?

Select an option to see the answer and solution.

How does double hashing work to resolve collisions in a hash table?

Select an option to see the answer and solution.

What is a common strategy to ensure that a hash table performs optimally under varying loads?

Select an option to see the answer and solution.

In simple chaining, what data structure is appropriate?

Select an option to see the answer and solution.

Which of the following operations are done in a hash table?

Select an option to see the answer and solution.

Interpret the given character string as an integer expressed in suitable radix notation.
Character string = pt

Select an option to see the answer and solution.

Which of the following problems occur due to linear probing?

Select an option to see the answer and solution.

Collision is caused due to the presence of two keys having the same value.

Select an option to see the answer and solution.

Which indicator is used for similarity between two sets?

Select an option to see the answer and solution.

How many probes are required on average for insertion and successful search?

Select an option to see the answer and solution.

Hashing can be used in online spelling checkers.

Select an option to see the answer and solution.

In open addressing the hash table can never become full.

Select an option to see the answer and solution.

Which of the following is identical to that of a separate chaining hash node?

Select an option to see the answer and solution.

What is a hash function?

Select an option to see the answer and solution.

On what value does the probe sequence depend on?

Select an option to see the answer and solution.

Double hashing is one of the best methods available for open addressing.

Select an option to see the answer and solution.

Which technique was firstly used clustering documents using the similarity of two words or strings?

Select an option to see the answer and solution.

What is the value of the Jaccard index when the two sets are disjoint?

Select an option to see the answer and solution.