Exam-style question
Try this first
What is the maximum value that can be represented using 5 bits of unsigned binary?.
- A.15
- B.16
- C.31
- D.32
Model answer
What a good answer should say
- 31
Explanation
Why this works
The maximum unsigned value for n bits is 2^n - 1. For 5 bits, this is 2^5 - 1 = 32 - 1 = 31.
Common mistake
No common mistake is linked to this question yet.
