Author Question: What is a hashing algorithm, and how is it used in hashed file organizations? What will be an ... (Read 40 times)

mspears3

  • Hero Member
  • *****
  • Posts: 586
What is a hashing algorithm, and how is it used in hashed file organizations?
 
  What will be an ideal response?

Question 2

EXISTS takes a value of false if the subquery returns an intermediate result set.
 
  Indicate whether the statement is true or false


steff9894

  • Sr. Member
  • ****
  • Posts: 337
Answer to Question 1

A hashing algorithm is a routine which converts a primary key value into a record address. Hashing algorithms are typically mathematical routines which perform computations such as dividing a primary key by a prime number and then using the remainder for a storage location. The hashing algorithm is used in a file organization to determine where to store the record. One limitation of this is that only one key value can be used for an index.

Answer to Question 2

FALSE



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

Astigmatism is the most common vision problem. It may accompany nearsightedness or farsightedness. It is usually caused by an irregularly shaped cornea, but sometimes it is the result of an irregularly shaped lens. Either type can be corrected by eyeglasses, contact lenses, or refractive surgery.

Did you know?

The immune system needs 9.5 hours of sleep in total darkness to recharge completely.

Did you know?

The most destructive flu epidemic of all times in recorded history occurred in 1918, with approximately 20 million deaths worldwide.

Did you know?

According to the FDA, adverse drug events harmed or killed approximately 1,200,000 people in the United States in the year 2015.

Did you know?

The lipid bilayer is made of phospholipids. They are arranged in a double layer because one of their ends is attracted to water while the other is repelled by water.

For a complete list of videos, visit our video library