🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.It cannot store integers
  2. B.It needs a sorted file
  3. C.The number of buckets is fixed, so growth causes long overflow chains or a full rehash
  4. 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 →