How many 1's are present in the binary representation of 3×512+7×64+5×8+3?
1's are present in the binary representation of 3×512+7×64+5×8+3=9.
(3 × 512 + 7 × 64 + 5 × 8 + 3) = 1536 + 448 + 40 + 3 = 2027 (2027)10=(011111101011)2.
So we can see from above result the number of digit 1 in binary representation of the given expression is 9.
Ones' complement:-
The ones' complement of a binary number is defined as the value obtained by inverting all the bits in the binary representation of the number. The ones' complement of the number then behaves like the negative of the original number in some arithmetic operations.