Question 1
Question
What does the efficiency of a hash table search depend on?
Question 2
Question
Find min and max values (Range Query) ______ be done in a hash table.
Answer
-
A) cannot
-
B) can
-
C) generally cannot
-
D) generally can
Question 3
Question
Which way is more efficient,linear or quadratic probing?
Answer
-
Quadratic
-
none of the above
Question 4
Question
what is the first thing you do when deleteing something from the hash?
Question 5
Question
to insert using open addressing, we need to find a closed location.
Question 6
Question
name of the of the hashing disadvantages
Question 7
Question
As the load factor increases, what happens to the number of unsuccessful searches
in linear and quadratic probing?
Answer
-
A) They decrease
-
B) They increase rapidly
-
C) They linearly
-
D) They stay the same
Question 8
Question
Disadvantage of hash tables is that they are not a general purpose data structure for storage and retrieval.
Question 9
Question
What are the two steps in inserting into a hash insert?
Answer
-
A. Hash the key, insert the item
-
B. Insert the item, hash the key
-
C. Hash the item, insert the key
-
D. Insert the key, remove the item
Question 10
Question
What is a disadvantage of hash tables?
Question 11
Question
Which of the following is NOT a disadvantage of hash tables? (ie: which of the following are hash tables NOT bad at?)
Answer
-
A. traversing in sorterd order
-
B. finding the mininmum or maximum value in a search key
-
C. insertion is very inefficient
-
D. range query
Question 12
Question
Which of the following are disadvantages of hash tables?
Question 13
Question
which of the following is a disadvantage of using a hash table?
Question 14
Question
Hashing efficiency for a particular search also depends on whether the search is successful.
Unsuccessful searches generally require more time than successful searches.
Question 15
Question
What is the efficency of insertion into a hash table?