Consider a system that uses 5 bits for representing signed integers in 2’s complement
format. In this system, two integers 𝐴 and 𝐵 are represented as 𝐴=01010 and
𝐵=11010. Which one of the following operations will result in either an arithmetic
overflow or an arithmetic underflow?
A.
A + B
B.
A - B
C.
B - A
D.
2 * B
Solution: