The number of digit 1 present in the binary representation of 3 x 512 + 7 x 64…
2007
The number of digit 1 present in the binary representation of 3 x 512 + 7 x 64 + 5 x 8 + 3 is
- A.
8
- B.
9
- C.
10
- D.
12
Attempted by 75 students.
Show answer & explanation
Correct answer: B
3 x 512 + 7 x 64 + 5 x 8 + 3 = 2027. In binary, 2027 has nine 1-bits, so the number of digit 1 present is 9.