Which of the following is not used to calculate Hash Functions?
2021
Which of the following is not used to calculate Hash Functions?
- A.
Folding Method
- B.
Modular Method
- C.
Division Method
- D.
Rehashing
Attempted by 191 students.
Show answer & explanation
Correct answer: D
Folding, modular, and division methods are used to compute hash values. For example, the division method commonly uses h(k) = k mod m. Rehashing is different: it is used after collisions or table resizing to place keys again, not to calculate the original hash function. Hence, Rehashing is the correct answer.