Exam-style question
Try this first
What is the maximum positive value that can be represented by an 8-bit unsigned integer?.
- A.127
- B.255
- C.65535
- D.256
Answer and explanation
Concise answer
255
Why this is correct
An 8-bit unsigned integer can represent 2^8 unique values (0-255). The maximum value is 2^8 - 1, which equals 255.
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.
