Write down the six bit sign magnitude notation for:

A.(+7)10 and (-7)10
B.Write the 2’s Complement for (-7)10

1 answer

A.
(+7)10 = 0111 in sign magnitude notation
(-7)10 = 1111 in sign magnitude notation

B. The 2's complement of (-7)10 is calculated by taking the 1's complement (flipping all the bits) and then adding 1.
1's complement of (-7)10:
-7 in binary = 1111
1's complement = 0000

Adding 1 to the 1's complement:
0000 + 1 = 0001

Therefore, the 2's complement of (-7)10 is 0001.