Skip to content

Course home

Searching algorithms

Searching algorithms

EasyMediumHard
123456789
Question 6

Figure 1 shows a Python list of city names.

cities = ["Paris", "Tokyo", "London", "Rome", "Cairo", "Sydney"]

Figure 1

State why a binary search cannot be used on the list cities.

[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