← Quiz: File Organization and Hashing: all 9 questions
Quiz: File Organization and Hashing · Question 4 of 9
What is the main weakness of static hashing for a growing table?
What is the main weakness of static hashing for a growing table?
- A.It cannot store integers
- B.It needs a sorted file
- C.The number of buckets is fixed, so growth causes long overflow chains or a full rehash
- D.Every lookup reads the whole file
Answer & explanation
Correct answer: The number of buckets is fixed, so growth causes long overflow chains or a full rehash
M is chosen at creation; changing it means rehashing every record.
Can you get the rest right without peeking?
Take the timed Quiz: File Organization and Hashing quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →