GATE 1993
October 1, 2024Database-Management-System
October 2, 2024GATE-2024-CS1(Forenoon)
| Question 13 |
Consider a system that uses 5 bits for representing signed integers
in 2’s complement format. In this system, two integers A and B are represented as A=01010 and
B=11010. Which one of the following operations will result in either an arithmetic
overflow or an arithmetic underflow?
in 2’s complement format. In this system, two integers A and B are represented as A=01010 and
B=11010. Which one of the following operations will result in either an arithmetic
overflow or an arithmetic underflow?
| A+B | |
| A-B | |
| B-A | |
| 2*B |
Correct Answer: B
