2. Which memory locations are assigned by the hashing function h(k) = k mod 101 to the records of insurance company customers wi th these Social Security numbers? a) 104578690 b) 432222187 c) 372201919 d) 501338753
1 answer:
Answer:
Memory Locations assigned
a) 58 b) 60 c) 52 d) 3
Step-by-step explanation:
We are given that:
h(k) = k mod 101
To find the memory location, we need to evaluate the modulus value abbreviated as mod, k modulo n, which returns the value of remainder when k is divided by 101.
a) 104578690
104578690 mod 101 = 58
b) 432222187
432222187 mod 101 = 60
c) 372201919
372201919 mod 101 = 52
d) 501338753
501338753 mod 101 = 3
You might be interested in
Answer:
perpendicular
Step-by-step explanation:
The answer to this question is D 17/24
Answer:
2.05 x 105
Step-by-step explanation:
hope it helped
15:10. (part to part) 15:25 (part to whole) 40% prefer doritos 60% prefer cheetos Hope this is the answer you were looking for !!
Answer:
19.26$
Step-by-step explanation:
Sold DVD for
50
%
more of the purchase price of
12
$
so
12
+
50
100
(
12
)
=
12
+
6
18
So customer will pay
7
%
tax on
18
$
Hence he will pay
18
(
1.07
)
$
=
19.26
$