Computer Science, asked by yutikabaar6625, 10 months ago

A collision occurs _____________
a. When two or more keys are mapped to the same hash value.
b. When two elements have the same key value.

Answers

Answered by TheRuhanikaDhawan
0

Answer:

a. When two or more keys are mapped to the same hash value.

Explanation:

A collision occurs When two or more keys are mapped to the same hash value.

Answered by brokendreams
0

(B) When two elements have the same key value a collision occurs.

Definition of Collision;

Collision is a phenomena of one moving object  or a person striking violently against another.  In other words, the sudden forceful coming together in direct contact of two bodies.

Types of collision;

  1. Inelastic collision- a collision where momentum or a motion of a body moving  is conserved.
  2. Elastic collisions- where a momentum is conserved and kinetic energy is conserved.

Characteristics of Inelastic Collision;

  • Linear momentum is conserved.
  • Total energy is conserved while on the other hand kinetic energy is not conserved.
  • Some or all the forces involved are sometimes non-conservative.

Characteristics of Elastic Collision;

  • In elastic collision the kinetic energy is conserved and the total energy of the system is also conserved.
  • The forces involved during the elastic collisions can be identified as conservative forces.

Hence, Collision depends on the conservation of momentum and conservation of energy.

Similar questions