Final answer:
A collision in a hash table occurs when two entries have the same exact hash value, but different keys. This can be resolved using separate chaining or open addressing.
Step-by-step explanation:
A collision in a hash table occurs when two entries have the same exact hash value, but different keys. This is option (c) - Two entries with different keys have the same exact hash value. When this happens, a collision resolution mechanism is needed to handle the collision.
One common way to handle collisions is through separate chaining or open addressing. With separate chaining, each slot in the hash table contains a linked list of entries that have the same hash value. With open addressing, if a collision occurs, the table is probed to find an open slot to store the entry.
By understanding collisions and the different collision resolution mechanisms, we can effectively implement and use hash tables to store and retrieve data efficiently.