Elitmus
Exam
Numerical Ability
Number System
find the number of 1s in binary format of this equation
512*1024+255*64+3
Read Solution (Total 9)
-
- 512 , 1024, 64 = 1(No. of 1) {Any no. such as x = 2^n, will have only one 1 in binary}
255 = 8 (No. of 1)
3 = 2
=> 1*1+8*1+2
=> 11 - 9 years agoHelpfull: Yes(32) No(1)
- 1000000000*10000000000*11111111000*00000010000*11000000000.....i think 13 answer
- 9 years agoHelpfull: Yes(7) No(3)
- 11
10000000*10000000000+0111111*100000+011 - 9 years agoHelpfull: Yes(6) No(2)
- In the Question asking no 1's in this question but peoples menuplate the equation....
512 contain 1, 1's
1024 contain 1, 1's
255 contain 8 , 1's
64 contain 1, 1's
3 contain 2, 1's
so total 1's in given equation is= 1+1+8+1+2=13
so, ans will be :13
- 9 years agoHelpfull: Yes(3) No(4)
- 512 *1024= 2^9*2^10
255*64 =(2^7+2^6+2^5+2^4+2^3+2^2+2^1+2^0)*2^6
3 =2^1*2^0
count total two (not power) then answer will be 11.
- 9 years agoHelpfull: Yes(1) No(0)
- 1000000000*10000000000+11111111*1000000+11
=13 - 9 years agoHelpfull: Yes(1) No(1)
- 512*1024=2^9*2^10=2^19 (2^n form contains only 1 1's in binary )---> 1 1's
any no. multiplied by 2^n does not change the no of 1's of that no. in binary
so 255*64 has--> 8 1's
and 3 has --> 2 1's
answer is 1 + 8 + 2= 11 - 9 years agoHelpfull: Yes(1) No(0)
- 11 becoz 2^n has only 1 one and 255 when divided by to gives 7 one and 3 is also give 1 one
- 8 years agoHelpfull: Yes(0) No(0)
- correct answer=11
when we convert 540611 into binary we get,
10000011111111000011
so total 1=11.
- 8 years agoHelpfull: Yes(0) No(0)
Elitmus Other Question