Similar questions 2 more →
Hashing

Your answer
Answer & solution
Answer: C (no official key was published)
1. The hash is the last decimal digit.9679,1989,4199 all map to 9, while 1471 and 6171 both map to 1. The remaining values map to 2,4,3.
2. Thus statements 1 and 2 only are true, C.
3. Teaching check: The eight hash values in input order are 2,4,1,9,9,1,3,9. This explicit list both verifies the two claimed collisions and refutes the “all equal” and “all different” alternatives. Collision means equal hash output, not equal original keys.