Exam-style question
Try this first
What is overflow in a fixed-size binary number system?.
- A.The result is too large to be represented using the available number of bits
- B.The result is too small to be represented using the available number of bits
- C.A binary number contains no zeroes
- D.A program has run out of secondary storage
Model answer
What a good answer should say
- The result is too large to be represented using the available number of bits
Explanation
Why this works
Overflow occurs when a calculation produces a value greater than the largest value that can be represented in the available fixed number of bits.
Common mistake
No common mistake is linked to this question yet.
