PrepRung

NDA 2020 Maths · Mathematics · Binary Number System · hard

How many digits equal to 1 occur in the binary representation of the decimal number 2023?

Single correct option

How many digits equal to 1 occur in the binary representation of the decimal number 2023?
  1. A. 8
  2. B. 9
  3. C. 10
  4. D. 7
Show answer and solution

Answer: (B) 9

2023=1024+512+256+128+64+32+4+2+12023=1024+512+256+128+64+32+4+2+1, since 2016=1024+512+256+128+64+322016=1024+512+256+128+64+32 and 2023−2016=7=4+2+12023-2016=7=4+2+1. That is (11111100111)2(11111100111)_2 with six 1s followed by 00 and three more 1s, totalling 9.
Report a mistake

Original question written in the NDA 2020 Maths pattern and checked twice for the correct answer. Not an official question paper. How we write and check questions · Corrections policy · Report a mistake