Question: What is the maximum number of comparisons needed to find an element in an array of size 16 using binary search?
Options:
Correct Answer: 5
Solution:
The maximum number of comparisons is log2(16) = 4, but since we count the initial comparison, it is 5.