CAPE Computer Science Unit 2 · 2009 · Paper 2 · Question 2(a)(ii)
Searching an array of integers.
Assuming key is not in arr, state how many elements of arr are checked before returning -1.
The mark scheme is shown once you've answered.
Practise this question