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
Subscribe on YouTube