Patni
Company
Numerical Ability
Time Distance and Speed
How many 0's are there in the binary form of 6*1024 + 4*64 + 2
Read Solution (Total 7)
-
- 6*1024 + 4*64 + 2 = 6144+256 +2 = 6402
in binary code
6402 base 10 = 11001 000000 10 in base 2.
so 9 zeros are there. - 12 years agoHelpfull: Yes(7) No(0)
- 6*1024+4*64+2=6402
6402 is converted into binary form which is(1100010000001)2
.
..the total num of zeros in it are 9
ans is 9 - 12 years agoHelpfull: Yes(2) No(0)
- 1024 has 10 0's
6 has 1 zero
1024*6=11 0's
from 11 0's 256 cancels 1 zero & 2 cancels 1 zero on additn
so, 11-1-1=9 zeros - 11 years agoHelpfull: Yes(2) No(0)
- 9 zeros are in binary code of 6*1024 + 4*64 + 2
- 12 years agoHelpfull: Yes(1) No(1)
- 9 zeros
1024*6 = 6144
4*64 = 256
so , 6144+256+2=6402
(6402)base10 = (1 1001 0000 0010)base2 - 12 years agoHelpfull: Yes(0) No(0)
- getting sum 6402
so in binary divide it by 2 modulo
we get ans 1100100000010
total zeros is 9 - 11 years agoHelpfull: Yes(0) No(0)
- 6402 = 11001 000000 10
9 zeros - 11 years agoHelpfull: Yes(0) No(0)
Patni Other Question