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

  1. A.

    8

  2. B.

    9

  3. C.

    10

  4. 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.

Explore the full course: Coal India Management Trainee