Skip to content

Course home

Searching algorithms

Searching algorithms

EasyMediumHard
123456789
Question 3

An oceanographer is analyzing a dataset of depths (in km) for several marine trenches, stored in a one-dimensional array:

depths = [10.92, 8.60, 10.54, 7.29, 9.78, 6.12]

Explain why a binary search algorithm cannot be directly applied to search for a specific depth in this array.

[1]
Markscheme

Searching algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Searching algorithms

33 exam-style questions on AQA GCSE Computer Science Searching algorithms. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank