Solveeit Logo

Question

Computer Science Question on Hashing

Which of the following is(are) true for hashing
(A) The time required to compute the index value is independent of the number of items in the list
(B) The time required to compute the index value depend on the number of items in the list
(C) The cost of computing a hash function does not affect the performance of hashing based searching
(D) The time taken by different hash functions may be different
(E) There is no problem of collision in hashing
Choose the correct answer from the options given below :

A

(B), (C) and (E) only

B

(A), (D) and (E) only

C

(B) and (C) only

D

(A) and (D) only

Answer

(A) and (D) only

Explanation

Solution

The correct option is (D) :(A) and (D) only