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?
A.8
B.9
C.10
D.7
Show answer and solution
Answer:(B) 9
2023=1024+512+256+128+64+32+4+2+1, since 2016=1024+512+256+128+64+32 and 2023−2016=7=4+2+1. That is (11111100111)2 with six 1s followed by 00 and three more 1s, totalling 9.