Computer Science, asked by 1985vendra, 3 months ago

Write 1's complement of 10010111.

Answers

Answered by dreamrob
0

Answer : 1's complement of 10010111 is 01101000.

To find 1's complement we will invert all bits.

1 becomes 0

0 becomes 1

1's Complement of some numbers are :-

+3 = 00000011

+2 = 00000010

+1 = 00000001

0 = 00000000

-0 = 11111111

-1 = 11111110

-2 = 11111101

-3 = 11111100

So, from the above examples we can say that positive numbers remains the same as in signed magnitude. And for negative numbers we invert all the bits.

Similar questions