Elitmus
Exam
Numerical Ability
Arithmetic
Find number of 1's in the given expression: 514*1024+130*64+3.
Read Solution (Total 5)
-
- If the quest is correct then just calculate the expression...which is = 534659 ... 0 1's
- 7 years agoHelpfull: Yes(4) No(0)
- 514*1024+130*64+3
= (512 + 2) *1024 + (128+2)*64 + 2+1
= (512*1024) + (2*1024) + (128*64) + (2*64) + 2 + 1
= (2^19) + (2^11) + (2^13) +(2^7) + 2 + 1
6 terms, which means 6 bits are 1.
No need of multiplication - 6 years agoHelpfull: Yes(4) No(1)
- ques was no. of 1's in binary form of the expression: 514*1024+130*64+3
- 7 years agoHelpfull: Yes(3) No(0)
- (534659)2= 111111000000111001 So answer is 10
- 7 years agoHelpfull: Yes(3) No(5)
- 514 * 1024 +130 *64 +3
=>1000000010*10000000000 +10000010*1000000+11
=>10000000100000000000+10000010000000+11
=>10000010100010000011
no of once = 6 - 6 years agoHelpfull: Yes(0) No(0)
Elitmus Other Question