A sorted file contains 16 items. Using binary search, the maximum number of comparisons to search for an item in this file is ...........
A. 15
B. 8
C. 1
D. 4
Answer:D
A sorted file contains 16 items. Using binary search, the maximum number of comparisons to search for an item in this file is ...........
A. 15 B. 8 C. 1 D. 4