Exam-style question
Try this first
Using the simplified base-2 interpretation of logarithmic growth, how does the number of levels represented by O(log n) change when n increases from 8 to 16?.
- A.It decreases by one level
- B.It stays the same
- C.It increases by one level
- D.It increases by eight levels
Answer and explanation
Concise answer
It increases by one level
Why this is correct
log₂(8) is 3 and log₂(16) is 4, so the logarithmic measure increases by one when the number of items doubles from 8 to 16.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
