阿摩線上測驗 登入

試題詳解

試卷:110年 - 110學士後_醫學系︰計算機概論與程式設計#100246 | 科目:研究所、轉學考(插大)、學士後-計算機概論

試卷資訊

試卷名稱:110年 - 110學士後_醫學系︰計算機概論與程式設計#100246

年份:110年

科目:研究所、轉學考(插大)、學士後-計算機概論

1. Hashing is used to create a hash table for integer keys. Let the hash table be a vector indexed from 0 to 6, the hash function be f(x) = x%7 where x denotes an integer key and % is the modulo operator, and collision be solved with the linear open addressing strategy. Suppose the four integer keys: 19, 33, 8, and 54, are processed sequentially. Where is 33 placed in the hash table?
(A) The position indexed 2
(B) The position indexed 3
(C) The position indexed 4
(D) The position indexed 5
(E) The position indexed 6
正確答案:登入後查看

詳解 (共 1 筆)

推薦的詳解#4998549
未解鎖
hash open addressing...
(共 238 字,隱藏中)
前往觀看
2
0