ISRO Computer Science (CSE) 2015 - Question 9

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2015

The number of 1's in the binary representation of 3 x 4096 + 15 x 256 + 5 x 16 + 3 are:

  • A. 8
  • B. 9
  • C. 10
  • D. 12

Answer: C. 10

Explanation: 4096 = 16^3, 256 = 16^2, 16 = 16^1. The expression is 3*16^3 + 15*16^2 + 5*16^1 + 3*16^0. In Hex: 3F53. Binary: 0011 1111 0101 0011. Number of 1s: 2 + 4 + 2 + 2 = 10.

| | All questions of ISRO Computer Science (CSE) 2015