πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!


    Question

    What is a "collision" in the context of hash

    tables?
    A When two different keys produce the same hash value. Correct Answer Incorrect Answer
    B When a hash function fails to produce any hash value. Correct Answer Incorrect Answer
    C When the hash table runs out of memory. Correct Answer Incorrect Answer
    D When two hash tables are merged. Correct Answer Incorrect Answer
    E When a key is not found in the hash table. Correct Answer Incorrect Answer

    Solution

    A collision occurs when a hash function maps two or more distinct keys to the same index (or slot) in the hash table.

    Practice Next
    More IT Operating System Questions
    ask-question