Similar questions 6 more →
Number Systems & Computer Arithmetic

Answer & solution
Official answer: B
Step through it (4 options)
Approach: Decode the operands as signed values, perform ordinary integer arithmetic, and compare each mathematical result with the representable interval.
1. With five bits, two's complement represents −2⁴ through 2⁴−1, namely −16 through 15.
2. A has leading bit 0, so A=10. B has unsigned value 26 and leading bit 1, so its signed value is 26−32=−6.
3. The four results are A+B=4; A−B=16; B−A=−16; and 2B=−12.
4. Only 16 falls outside [−16,15]. Its five-bit pattern would wrap to 10000, which represents −16 rather than the intended positive 16.
Answer: B. The value −16 in option C is exactly the valid lower endpoint, not an underflow. Two's complement has one more negative value than positive nonzero values.