A programmer wants to search for a specific user ID in an array using a binary search algorithm. State one property that the array of user IDs must have before this binary search can be executed.
[1]
Markscheme
Searching and sorting algorithms Questions
36 exam-style questions on OCR GCSE Computer Science Searching and sorting algorithms. Each one has a worked solution and a mark scheme showing where the marks go.