TCS
Company
Numerical Ability
Area and Volume
The citizens of planet nigiet are 8 fingered and have thus developed their decimal system in base 8. A certain street in nigiet contains 1000 (in base 8) buildings numbered 1 to 1000. How many 3s are used in numbering these buildings?
a) 54 b) 64 c) 265 d) 192
Read Solution (Total 3)
-
- (N-1)*(BASE)^(N-2)
N=NUMBER OF LAST DIGIT=4(100 contains 4 digits)
base=8
(4-1)*8^(4-2)
=192 - 13 years agoHelpfull: Yes(28) No(3)
- arita please elaborate this
- 10 years agoHelpfull: Yes(0) No(1)
- (N-1)*(BASE)^(N-2)
N=NUMBER OF DIGITS in the given number =4(1 to 1000 contains 4 digits : ones,tens,hundreds, thousands)
base=8
therefore, (4-1)*(8)^(4-2) = 3*64 =192
ans =192
- 10 years agoHelpfull: Yes(0) No(0)
TCS Other Question
Given a collection of points P in the plane , a 1-set is a point in P that can be separated from the rest by a line, .i.e the point lies on one side of the line while the others lie on the other side. The number of 1-sets of P is denoted by n1(P). The minimum value of n1(P) over all configurations P of 5 points in the plane in general position (.i.e. no three points in P lie on a line) is
a) 3 b) 5 c) 2
There are two water tanks A and B, A is much smaller than B. While water fills at the rate of one litre every hour in A, it gets filled up like 10, 20, 40, 80, 160... in tank B. (At the end of first hour, B has 10 litres , second hour it has 20, and so on). If tank B is 1/16 filled after 4 hours, what is the total duration required to fill it completely?
a) 8hrs b) 25 hrs c) 5 hrs d) 27 hrs