TCS
Company
The citizens of planet oz are 4 fingered and have thus developed their decimal system in base 4. A certain street in oz contains buildings numbered 1 to 100. How many 1s are used in numbering these buildings?
Read Solution (Total 6)
-
- Base 4 system means only digits 0,1,2,3 are used for number system.
Then possible nos having 1 are
001,010,011,012,013, 021,031,100
in which 9 ( Nine ) times digit 1 is used. - 13 years agoHelpfull: Yes(10) No(6)
- system in base 4 so only 0,1,2,3 are used.
first start with 000,001,002,003,010,011,012,013,020,021,022,023.....and so on upto 100.
so 1 comes are
001,010,011,012,013,021,031,100
so total 9 1's are come
note: in 011 there are two one don't forget it. - 13 years agoHelpfull: Yes(8) No(1)
- Nos including 1 are
001,010,011,012,013, 021,031,100
so Nine (9) 1s are used. - 13 years agoHelpfull: Yes(6) No(3)
- nos are. : 000,001,002,003,010,011,012,013,020,021,022,023,030,031,032,033,100
no of 1's: 9
but it is base 4 so 9=020
ans in base 10 is:2*4^1+0*4^0=8
ans=8
- 12 years agoHelpfull: Yes(2) No(6)
- explain in detail ...dipin
- 13 years agoHelpfull: Yes(0) No(3)
- no of 1's :
001,010,011,100,110,012,021,013,031
so 9 (1s) are included . - 9 years agoHelpfull: Yes(0) No(0)
TCS Other Question