Use A = 1 through Z = 26. Add the letter values, then take the remainder after division by 5. What is the home slot for key CF in slots 0 through 4?
After hashing a key and taking the remainder for the table size, what have you calculated?
With the hash rule and table size unchanged, the same key has the same home slot every time.
Circle one: True False
A five-slot table uses linear probing and has no deletions. A new key's home slot 4 holds a different key, but slot 0 is empty. What happens on insertion?
Under chaining, distinct keys 19 and 29 both have home slot 9. Key 19 is already in its bucket. Where is the pair for key 29 stored?
Five keys use ten slots under chaining. One bucket holds two keys; three other buckets hold one each. For a present key, what is the maximum number of key comparisons lookup needs within its bucket?
In a seven-slot table using linear probing, K and R have home slot 4. K occupies 4 and R occupies 5. A lookup for R checks only 4 and reports it missing. What should it do?
A ten-slot table holds nine keys. Five share one chained bucket, where lookup is slow. Which conclusion is supported?