CAPE Computer Science Unit 2 · 2010 · Paper 2 · Question 4(c)
Consider a linear search function lsearch(arr, n, key) returning the index of key or -1. Briefly describe THREE tests which can be used to determine if lsearch is working correctly.
The mark scheme is shown once you've answered.
Practise this question