In _____________, comparisons that do not find the key still give us the idea about the location where the key may probably be found.
In _____________, comparisons that do not find the key still give us the idea about the location where the key may probably be found.
Solution
✅ Correct Option: 1
Binary search works on a sorted list. Each time the middle element is compared and is not the key, the result (key smaller or larger) shows which half the key can lie in, so the other half is discarded.
Option 2: in linear search, a failed comparison only rules out that one element and says nothing about where the key might be.
Option 3: hash search uses the hash function to compute the location directly, not the outcome of failed comparisons.
Related questions:
2026: 23 May Shift 2
2025: 16 May Shift 1
2026: 11 May Shift 2