Algorithms

EasyMediumHard
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
Question 37
Easy

An automated chemical analyzer measures the pH levels of seven sequential samples from an industrial discharge pipe, storing them in a one-dimensional array:

5.84.26.13.97.45.16.8

Explain why a binary search algorithm cannot be used to find a sample with a pH of 5.1 in this array.

[1]

Algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Algorithms