Which of the following are the applications of binary search?
(A) Telephone Directory
(B) Finding the element with a minimum or maximum value in a sorted list
(C) Implementing routing tables
(D) Indexing in database
Which of the following are the applications of binary search?
(A) Telephone Directory
(B) Finding the element with a minimum or maximum value in a sorted list
(C) Implementing routing tables
(D) Indexing in database
Solution
✅ Correct Option: 3
Binary search repeatedly halves a sorted collection, so it fits any task that looks up or locates items in sorted data. All four listed uses fit this.
| Application | How binary search is used |
|---|---|
| (A) Telephone directory | Names are sorted alphabetically, so a name is found by repeatedly halving the list |
| (B) Min or max in a sorted list | Halving the sorted (or rotated sorted) list locates the smallest or largest value |
| (C) Routing tables | Sorted address or prefix entries are searched to find the matching route |
| (D) Database indexing | Indexes keep keys in sorted order, so a key is located by halving the index |
The common condition is that the data must be sorted.
Related questions:
2025: 22 May Shift 1
2026: 11 May Shift 2
2026: 19 May Shift 1
2026: 31 May Shift 1