Open In App

Top | MCQs on Hash Data Strcuture with Answers | Question 28

Which is a simple form of hashing where the data is directly mapped to an index in a hash table.

(A)



Collision

(B)



Index Mapping

(C)

Functional Mapping

(D)

Hash function

Answer: (B)
Explanation:

Index Mapping (also known as Trivial Hashing) is a simple form of hashing where the data is directly mapped to an index in a hash table. The hash function used in this method is typically the identity function, which maps the input data to itself. In this case, the key of the data is used as the index in the hash table, and the value is stored at that index.

Hence Option(B) is the correct answer.

Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :
Uncategorized