Match List-I with List-II
List-I List-II (A) Linear Search (I) The key to be searched is compared with the element in the middle of a sorted list. (B) Hashing (II) Two elements map to the same slot in the hash table. (C) Binary Search (III) Every element of a given list is compared with the item to be searched for. (D) Collision (IV) A function is used to calculate the value at an index in the list.
Match List-I with List-II
| List-I | List-II |
|---|---|
| (A) Linear Search | (I) The key to be searched is compared with the element in the middle of a sorted list. |
| (B) Hashing | (II) Two elements map to the same slot in the hash table. |
| (C) Binary Search | (III) Every element of a given list is compared with the item to be searched for. |
| (D) Collision | (IV) A function is used to calculate the value at an index in the list. |
Solution
✅ Correct Option: 2
| List I | List II |
|---|---|
| (A) Linear Search | (III) Every element of a given list is compared with the item to be searched for. |
| (B) Hashing | (IV) A function is used to calculate the value at an index in the list. |
| (C) Binary Search | (I) The key to be searched is compared with the element in the middle of a sorted list. |
| (D) Collision | (II) Two elements map to the same slot in the hash table. |
Binary search works only on a sorted list, because it halves the search range by checking the middle element each time.
Hashing uses a hash function to compute the index directly. A collision happens when that function gives the same index for two different keys.
Related questions:
2026: 29 May Shift 1
2026: 20 May Shift 1
2026: 26 May Shift 1
2026: 31 May Shift 1
2026: 23 May Shift 2