recategorized by
18,443 views
31 votes
31 votes

The number of $1$'s in the binary representation of $(3\ast4096 + 15\ast256 + 5\ast16 + 3)$ are:

  1. $8$
  2. $9$
  3. $10$
  4. $12$
recategorized by

6 Answers

0 votes
0 votes

Powers of 16 go like: 1,16, 256, 1024, 65536, 1048576...

Interestingly enough, these are all powers of 2 as well.

 

As it happens, even the powers of 8 conform to this pattern.

Powers of 8 go like: 1, 8, 64, 512, 4096, 32768

 

That's because 16 is nothing but $2^4$; so $16^2$ = $(2^4)^2$ = $2^8$. Same can be derived for 8.

So, when you see 4096, don't immediately jump to $2^{12}$ — first check if it is a power of 16 or 8 as well. Because higher the base, easier is to solve such questions.



 

Coming to the question, given is hexadecimal format => 0x3F53 = Ten 1's in binary.

Option C

Answer:

Related questions

24 votes
24 votes
5 answers
2
13 votes
13 votes
2 answers
3
go_editor asked Jun 15, 2016
4,961 views
Which of the given number has its $\text{IEEE - 754}$ $32$-bit floating point representation as $\text{(0 10000000 110 0000 0000 0000 0000 0000)}$$2.5$$3.0$$3.5$$4.5$
12 votes
12 votes
4 answers
4
anand007 asked Jun 14, 2016
10,477 views
The decimal number has $64$ digits. The number of bits needed for its equivalent binary representation is?$200$$213$$246$$277$