Skip to content

Data Structures

A situation in a hash table where two different keys produce the same hash value. What is this concept called?

Difficulty: Medium

About this MCQ

This Medium Data Structures MCQ checks one syllabus fact.

The question is: “A situation in a hash table where two different keys produce the same hash value. What is this concept called?”

The accepted answer is B. Hash collision. “A situation in a hash table where two different keys produce the same hash value. What is this concept called” is answered by Hash collision (option B). Option A (“Sparse matrix”) does not match the stem; it is a near-miss used to catch incomplete recall of Hash collision. Option C (“Skip list”) does not match the stem; it is a near-miss used to catch incomplete recall of Hash collision. Remaining alternatives (Adjacency matrix) fall outside the same rule and should be eliminated once Hash collision is identified. Data Structures questions of this type reward precise definitions rather than approximate associations. Data Structures recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.

Correct answer

B. Hash collision

Explanation

“A situation in a hash table where two different keys produce the same hash value. What is this concept called” is answered by Hash collision (option B). Option A (“Sparse matrix”) does not match the stem; it is a near-miss used to catch incomplete recall of Hash collision. Option C (“Skip list”) does not match the stem; it is a near-miss used to catch incomplete recall of Hash collision. Remaining alternatives (Adjacency matrix) fall outside the same rule and should be eliminated once Hash collision is identified. Data Structures questions of this type reward precise definitions rather than approximate associations. Data Structures recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.

Source: Data Structures Official Reference Guide

Tags: computer science, data structures, algorithms, programming

Submitted by: MCQsHub Editorial

Related MCQs

More Data Structures MCQs