Exam-style question
Try this first
An 8-bit unsigned integer can represent values from 0 to 255. If a calculation yields a result of 260, what limitation of binary representation is demonstrated?.
- A.Truncation
- B.Quantisation
- C.Underflow
- D.Overflow
Answer and explanation
Concise answer
Overflow
Why this is correct
The result 260 exceeds the maximum representable value (255) for an 8-bit unsigned integer, which is a classic example of an overflow error.
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.
