Multiple choice

Which of the following is a hash function?

  1. Folding

  2. Quadratic Probing

  3. Chaining

  4. Open addressing

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Folding is a hash function method that divides the key into equal-sized parts and combines them (usually by addition or XOR) to create a hash value. Quadratic probing, chaining, and open addressing are collision resolution techniques, not hash functions.