How many 1's are present in the binary representation of
5×1024+7×128+7×16+3?
1's complementof a binary number is another binary number obtained by toggling all bits in it, that transforming the 0 bit to 1 and the 1 bit to 0. The ones' complement of the number then behaves like the negative of the original number in some arithmetic operations.
1's are present in the binary
representation of
5×1024+7×128+7×16+3=10.