Exam-style question
Try this first
What are the minimum and maximum values for an 8-bit unsigned binary number?.
- A.0 and 127
- B.0 and 255
- C.1 and 255
- D.1 and 256
Model answer
What a good answer should say
- 0 and 255
Explanation
Why this works
Unsigned binary has a minimum of 0. Its maximum for 8 bits is 2^8 - 1 = 256 - 1 = 255.
Common mistake
No common mistake is linked to this question yet.
