1.

Which of the following hash function classifies data into least number of buckets?(a) Sum of digits modulo 8(b) Sum of digits modulo 5(c) Sum of digits modulo 2(d) Sum of digitsI have been asked this question in semester exam.This key question is from Dynamic Hashing topic in section Indexing and Hashing of RDBMS

Answer»

The CORRECT CHOICE is (a) SUM of digits modulo 8

For explanation I would SAY: The sum of digits modulo 2 CLASSIFIES the data into only 2 buckets i.e. 0 and 1.



Discussion

No Comment Found

Related InterviewSolutions