Question 37Asked in UGC NET Computer Science, June 2014 (Paper II & III, Selected Questions)

If h is chosen from a universal collection of hash functions and is used to hash n keys into a table of size m, where n ≤ m, the expected number of…

If h is chosen from a universal collection of hash functions and is used to hash n keys into a table of size m, where n ≤ m, the expected number of collisions involving a particular key K is (b) less than lg n
  1. Aless than 1
  2. Bless than lg n
  3. Cgreater than 1
  4. Dgreater than lg n
Show answerHide answer

Correct answer: (A) less than 1

Explanation

This is a theorem in universal hashing: if h is chosen from a universal collection and is used to hash n keys into a table of size m, where n ≤ m, the expected number of collisions involving a particular key is less than 1. So the answer is (a).

From UGC NET Computer Science PYQ, June 2014 (Paper II & III, Selected Questions)

This is question 37 of UGC NET Computer Science PYQ, June 2014 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.