Computer Fundamentals - Engineering

Q1:

A hashing scheme is used with

A sequential file organization

B direct file organization

C indexed sequential file organization

D partitioned file organization

E None of the above

ANS:B - direct file organization

Hashing is the transformation of a string of characters into a usually shorter fixed-length value.

Hashing is used to index and retrieve items in a database because it is faster to find the item using the shorter hashed key than to find it using the original value. It is also used in many encryption algorithms.