10 marksSearching and Sorting Algorithms
CAPE Computer Science Unit 2 · 2009 · Paper 2 · Question 2(b)(i)
Binary search on an array.
Describe the steps performed during a binary search of arr using an algorithm or written explanation, taking the same parameters and return values as linear search.
The mark scheme is shown once you've answered.
Practise this question