Which of the following is not used to calculate Hash Functions?

2021

Which of the following is not used to calculate Hash Functions?

  1. A.

    Folding Method

  2. B.

    Modular Method

  3. C.

    Division Method

  4. 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.

Explore the full course: Up Lt Grade Assistant Teacher 2025