TCS
Company
Entry ticket to an exhibition ranges from 1p to 31p. You need to provide exact change at the counter. You have 31p coin. In how many parts will you divide 31p so that you will provide the exact change required and carry as less coins as possible?
a)4 b)5 c)6 d)7
Read Solution (Total 6)
-
- It,s just like decimal to binary convewrsion.
31 = 16+8+4+2+1. So 5 coins required. - 13 years agoHelpfull: Yes(14) No(3)
- 2^n. (n=0,1,2,3,4,5.......)
2^0+2^1+2^2+2^3+2^4( - 13 years agoHelpfull: Yes(5) No(2)
- 2^5 = 32
so coins reqd 1 2 4 8 16 - 13 years agoHelpfull: Yes(1) No(0)
- ans is 5..............................
- 13 years agoHelpfull: Yes(1) No(1)
- The answer is 4
- 4 years agoHelpfull: Yes(0) No(1)
- 2^5>31
answer is 5 - 4 years agoHelpfull: Yes(0) No(0)
TCS Other Question