AP Computer Science Principleshardmcq1 pt

A binary search of a sorted list of 16 items examines at most about

A.4 elements
B.16 elements
C.8 elements
D.2 elements

Explanation

Core Concept

log base 2 of 16 is 4.

Correct Answer

A4 elements

More Unit 3: Algorithms and Programming practice questions

Try a random question →

Practice more AP Computer Science Principles questions with full explanations

Practice Unit 3: Algorithms and Programming Questions →