Binary search can be used only when the list is:
- Made of strings only
- Smaller than 10 items
- Unsorted
- Sorted
Answer
D) Sorted
Binary search compares with the middle element to discard half the list — this needs sorted data. SLO CS-11-B-02 · Knowledge
Computer Science MCQ · More Unit 2: Computational Thinking and Algorithms MCQs · Practise