Computer Science, asked by swaggyrtw0510, 2 months ago

When we perform subtraction on -7 and 1 the answer in 2’s complement form is _________
2 points
1010
1110
0110
1000

Answers

Answered by dreamrob
3

Answer:

-7 - 1

7 = 0111

1's complement = 1000

2's complement = 1000 + 1 = 1001

1 = 0001

1's complement = 1110

2's complement = 1110 + 1 = 1111

   1 0 0 1

+  1  1  1  1

 1 1 0 0 0

We get the end-around carry 1. We will discard this carry.

So, we get 1000

Now find the 2's complement of 1000

1's complement = 0111

2's complement = 0111 + 1 = 1000

So, the final answer is 1000

When we perform subtraction on -7 and 1 the answer in 2’s complement form is 1000

Similar questions