Exam-style question
Try this first
A system uses a fixed number of bits and has a largest representable value. What should be concluded if a calculation gives a value larger than this limit?.
- A.Overflow has occurred
- B.Underflow has occurred
- C.Neither condition can occur
- D.The value is automatically stored exactly
Model answer
What a good answer should say
- Overflow has occurred
Explanation
Why this works
A result greater than the largest representable value cannot be stored in the available fixed-size representation, so overflow occurs.
Common mistake
No common mistake is linked to this question yet.
