CBSE Class 12 Computer Science Question 8 of 68

Data Structures - I : Linear Lists — Question 4

Back to all questions
4
Question

Question 4

State condition(s) when binary search is applicable.

Answer

The conditions when binary search is applicable are as follows:

  1. Binary search can only work for sorted arrays.
  2. Binary search is most effective when random access to elements is available.
  3. Binary search is advantageous when the array size is large.
  4. Binary search is useful for saving time and number of comparisons.