Test yourself on Binary Search with exam style questions, marked instantly.
Flashcards that come back just before you would forget them.
A revision plan that remembers what you know and shows what to do next.
See which topics you have nailed and which need another look.
Quiz yourself on Binary SearchGet your flashcardsBuild my revision planTrack my progressDeep Dive: Pseudocode
found = False
low = 0
high = numbers.length - 1
while low <= high AND found == False
mid = (low + high) DIV 2
if numbers[mid] == target then
found = True
elseif numbers[mid] < target then
low = mid + 1
else
high = mid - 1
endif
endwhile
This follows OCR reference language. AQA and Edexcel questions use a similar structure with their own pseudocode style.
Make this stick
Signing in gives access to all PrepWise features.