Binary search can be used only when the list is:

  1. Made of strings only
  2. Smaller than 10 items
  3. Unsorted
  4. 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