Skip to content

Course home

Searching algorithms

Searching algorithms

EasyMediumHard
12345678910111213141516171819202122
Question 3

A digital library database contains an alphabetically sorted list of monograph reference IDs. A search routine uses the binary search algorithm to locate a specific target ID, 'PH-902', within this list.

Explain how the binary search algorithm works to locate this target ID, clearly describing how the search space is reduced at each stage.

[3]
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