ExamBank Scot · AH Computing Science question bank · All AH Computing Science questions
1 mark · Binary search
State the comparisons needed to locate Sycamore using a binary search on the following alphabetically sorted list: Beech, Birch, Cedar, Oak, Sycamore, Willow, Yew
Compare with Oak. Compare with Willow. Compare with Sycamore. 1 mark for all comparisons correct.