Question 140Asked in BPSC TRE 2.0 (2023) Computer Science Class 11-12

The number of 1’s in the binary representation of the value of the decimal expression 16³ × 9 + 16² × 7 + 16 × 5 + 3 is

  1. A15
  2. B9
  3. C12
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (B) 9

Explanation

The expression is (9753)₁₆ = 1001 0111 0101 0011₂. The 1s per group are 2 + 3 + 2 + 2 = 9.

From BPSC TRE 2.0 (2023) Computer Science Class 11-12 — Previous Year Paper

This is question 140 of BPSC TRE 2.0 (2023) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.