Zusammenfassung der Ressource
Frage 1
Frage
Which probing applies a hash function until it finds an empty space or the key that is sought for?
Frage 2
Frage
What does separate chaining allow for in the case of collisions?
Frage 3
Frage
Pick a correct example of Quadratic Probing increments:
Antworten
-
A) 1, 2^2, 3^3, etc
-
B) 2^0, 2^1, 2^2, etc
-
C) 1^2, 2^2, 3^2, etc
-
D) 1^1, 2^2, 3^3, etc
Frage 4
Frage
What are two ways to handle hashing collisions?
Frage 5
Frage
what is a hash collision?
Antworten
-
A,two distinct pieces of data have the same hash value
-
B.two distinct pieces of data have the different hash value
-
C.it hold 3 values at once
-
D.none of the above
Frage 6
Frage
Separate Chaining allows the hash table to accommodate more than one item in the same location.
Frage 7
Frage
Double Hasing uses two has functions what does each do?
Frage 8
Frage
Which type of probing searches the hash table at the beginning at the
original specified by the hash function and continuing at increments
of 1^2, 2^2, 3^2, ...?
Antworten
-
A) Linear Probing
-
B) Square Probing
-
C) Polynomial Probing
-
D) Quadratic Probing
Frage 9
Frage
What does Separate Chaining do?
Frage 10
Frage
What searches the hash table sequentially, starting from the original locatiom specified by the hash function?
Antworten
-
A. Linear Probing
-
B. Bilinear Probing
-
C. Circular Probing
-
D. Alien Probing
Frage 11
Frage
What is separate chaining?
Antworten
-
A) Each location in a hash table is a linked list. Effectively, it's dynamic.
-
B) Making each has table a linked list
-
C) None of the above
Frage 12
Frage
Which of the following is NOT a type of collision handling?
Antworten
-
A. Separate chaining
-
B. Linear probing
-
C. Double Hashing
-
D. Trigonometic probing
Frage 13
Frage
In separate chaining, what is the load factor?
Antworten
-
A. the load factor is the average length of all the lists, including the lists with the length of zero
-
B. the load factor is the shortest length of all the lists, including the lists with the length of zero
-
C. the load factor is the longest length of all the lists, including the lists with the length of zero
-
D. the load factor is the average length of all the lists, excluding the lists with the length of zero
Frage 14
Frage
When using separate chaining for collision handling in a hash table the load factor is the average length of all of the list.
Frage 15
Frage
collision resolution schemes that probe for an empty, or open, location in the hash table
Frage 16
Frage
What is the difference between separate chaining and open addressing?