Start learning →

What condition must an array satisfy before binary search can apply?

AMust be empty
BMust be sorted
CMust have primes
DMust have floats
Answer & Solution
Correct answer: B. Must be sorted
Binary search requires the elements in the array to be sorted first.
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 →