The 1’s compliment of binary number 11010 is: A. 101 B. 10 C. 110 D. 11101 E. None of the above

101
10
110
11101 E. None of the above

The 1’s

complement of a binary number is formed by flipping all the 1’s to 0’s and all the 0’s to 1’s. So, the 1’s complement of 11010 is 00101.

Here is a table of the 1’s complement of each binary number from 0 to 15:

Binary | 1’s complement
——- | ——–
0000 | 1111
0001 | 1110
0010 | 1101
0011 | 1100
0100 | 1011
0101 | 1010
0110 | 1001
0111 | 1000
1000 | 0111
1001 | 0110
1010 | 0101
1011 | 0100
1100 | 0011
1101 | 0010
1110 | 0001
1111 | 0000

The 1’s complement of a binary number can be used to represent negative numbers in two’s complement arithmetic. In two’s complement arithmetic, the negative of a number is formed by adding 1 to its 1’s complement. For example, the negative of 11010 is 10101, which is equal to -10 in decimal.