Exam-style question
Try this first
Explain the difference between overflow and underflow. Describe the circumstances in which each occurs.
Answer and explanation
Concise answer
Overflow occurs when a calculation produces a result greater than the maximum value that can be represented using the available fixed number of bits.
Why this is correct
A complete answer identifies the direction of the out-of-range result and links it to the limits imposed by the fixed number of available bits. A result above the upper limit is overflow; a result below the lower limit is underflow.
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.
