Start learning →

Which element does binary search compare with the target value first?

AThe first element
BThe last element
CA random element
DThe middle element
Answer & Solution
Correct answer: D. The middle element
Binary search begins by comparing the target value to the middle element.
Practise this question with Quill — ICSE Class 10 →

Keep practising Arrays in Java (Single and Double Dimensional)

Browse all Arrays in Java (Single and Double Dimensional) questions for ICSE Class 10, or explore more Computer Applications topics.

Start a Arrays in Java (Single and Double Dimensional) lesson →