User interface language: English | Español

Date May 2018 Marks available 3 Reference code 18M.1.SL.TZ0.9
Level SL Paper 1 Time zone no time zone
Command term Explain Question number 9 Adapted from N/A

Question

For an identified application, explain why a binary search would be preferred to a linear search.

Markscheme

For example, [2 max] if no application given;
Searching through a database of names;
That contains a large amount of data;
That is already sorted;
And needs to be searched in the least amount of time;
Is faster because binary search divides and searches smaller blocks of data/does not have to compare each element in the list;

Examiners report

[N/A]

Syllabus sections

Topic 4: Computational thinking, problem-solving and programming » 4.2 Connecting computational thinking and program design
Show 59 related questions
Topic 4: Computational thinking, problem-solving and programming

View options