题目
COMP10002_2025_SM2 Supplementary or Special Exam: Foundations of Algorithms (COMP10002_2025_SM2)- Requires Respondus LockDown Browser
单项选择题
Which of the following statements about hashing is correct:
选项
A.The hash function must generate similar hash values for keys that are near each other
B.The strings being hashed must be composed solely of alphabetic characters
C.The hash function must always make use of a table size that is a prime number
D.The hash function must be designed so that only one key can be mapped to each possible hash value
E.The hash function used must be deterministic, and must always give the same hash value for any given key
查看解析
标准答案
Please login to view
思路分析
Question: Which of the following statements about hashing is correct?
Options:
1) The hash function must generate similar hash values for keys that are near each other
2) The strings being hashed must be composed solely of alphabetic characters
3) The hash function must always make use of a table size that is a prime number
4) The hash function must be designed so that only one key can be mapped to each possible hash value
5) The hash function used must be deterministic, and must always give the same hash value for any given key
Option 1 analysis:
- This statement claims that similar keys yield similar hash val......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!