Discussion :: Digital Electronics
-
The number of digit 1 present in the binary representation of 3 x 512 + 7 x 64 + 5 x 8 + 3 is
Answer : Option B
Explanation :
3 x 512 + 7 x 64 + 5 x 8 + 3
= (2 + 1) x 29 + (4 + 2 + 1)26 + (4 + 1)23 + (2 + 1)
= 210 + 29 + 28 + 27 + 26 + 25 + 23 + 21 + 1
= 210 + 29 + 28 + 27 + 26 + 25 + 23 + 21 + 20
9 term of power two
Hence number of '1' is 9.
Be The First To Comment