1. In Two’s complement only
  2. In one’s complement and two’s complement
  3. Sign and magnitude and one’s complement 
  4. In all three
5 views

1 Answers

Option 4 : In all three

Addition of integers in One’s complement-

One’s complement of 011000 → 100111

One’s complement of 011000 → 100111

Now, addition-

 100111 + 100111 = 1001110

Therefore, in this 1001110 the digit 1-001110 is an overflow.

Addition of integers in Two’s complement-

Two’s complement of 011000 → 101000

Two’s complement of 011000 → 101000

Now, addition-

101000 + 101000 = 1010000

Therefore, in this 1010000 the digit 1-010000 is an overflow.

Addition of integers in sign and magnitude format

If start with 0 that means +ve.

If start with 1 that means –ve.

So, given numbers 011000 and 011000 both are positive

Now, addition

11000 + 11000 = 110000

Therefore, in this 110000 the digit 1-10000 is an overflow.

5 views

Related Questions