Question:

Assuming 5-bit addition is done on registers, the sum \( 12 + 7 \) leads to _______.

Show Hint

When dealing with binary addition in limited bit registers, be aware of overflow when the sum exceeds the maximum representable value.
Updated On: Jun 16, 2025
  • Overflow
  • -12
  • 19
  • -14
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

In a 5-bit register, the maximum number that can be represented is \( 2^5 - 1 = 31 \). The sum \( 12 + 7 = 19 \) is within the range, but if we add any larger number (like 12 + 7 in 5 bits), it exceeds the limit and causes an overflow. Therefore, the correct answer is overflow.
Was this answer helpful?
0
0