CompNetwork 34

0. Given the following input (4322, 1334, 1471, 9679, 6171, 6173, 4199) and the has function = x mod 10, which of the following statement(s) is (are) true?
i. 1471, 6171 has to the same value
ii. All elements has to the same value
iv. Each element hashes to a different value

  • Option : D
  • Explanation :
    Hash function given is mod(10).
    9679, 1989 and 4199 all these give same hash value i.e 9
    1471 and 6171 give hash value 1
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *