GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

10. Hashing Collision

Mena Sargios 16 Fragen

Quiz starten

Fragen in diesem Quiz (16)

  1. 1Which probing applies a hash function until it finds an empty space or the key that is sought for?
    1. ALinear
    2. Bnone of the above
  2. 2What does separate chaining allow for in the case of collisions?
    1. AAllows the hash table to accommodate more than one item in the same location
    2. Bnone of the above
  3. 3Pick a correct example of Quadratic Probing increments:
    1. AA) 1, 2^2, 3^3, etc
    2. BB) 2^0, 2^1, 2^2, etc
    3. CC) 1^2, 2^2, 3^2, etc
    4. DD) 1^1, 2^2, 3^3, etc
  4. 4What are two ways to handle hashing collisions?
    1. A1.Move down one at a time till a free space is found.
      2.Move down n^2 where n is how many times you have collided and moved.
    2. Bnone of the above
  5. 5what is a hash collision?
    1. AA,two distinct pieces of data have the same hash value
    2. BB.two distinct pieces of data have the different hash value
    3. CC.it hold 3 values at once
    4. DD.none of the above
  6. 6Separate Chaining allows the hash table to accommodate more than one item in the same location.
    1. ARichtig
    2. BFalsch
  7. 7Double Hasing uses two has functions what does each do?
    1. Aone specifies the first location, the other gives the step size.
    2. Bnone of the above
  8. 8Which 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, ...?
    1. AA) Linear Probing
    2. BB) Square Probing
    3. CC) Polynomial Probing
    4. DD) Quadratic Probing
  9. 9What does Separate Chaining do?
    1. AAllows the hash table to accommodate more than one item in the same location (each location is a linked list). This makes the hash table dynamic
    2. Bnone of the above
  10. 10What searches the hash table sequentially, starting from the original locatiom specified by the hash function?
    1. AA. Linear Probing
    2. BB. Bilinear Probing
    3. CC. Circular Probing
    4. DD. Alien Probing

Informationen

Beschreibung
Algorithms and Data Structures | Test 3 Review | CSCI-3110-002 MTSU
Sprache
English
Aufrufe
423
Schlagwörter
mtsucsci3110
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck