TCS placement questions - 2
1. If f(x) =
g(x) =
Then what is the remainder when f(x) is divided by g(x)
Let us multiply g(x) with x on the both sides
x.g(x) =
add 1 on both sides
x. g(x) + 1 =
Substitute this value in f(x)
then f(x) =
f(x) =
Now f(x) is divisible by g(x) first two terms are exactly divisible by g(x) and we get 1 -
But 1 - = (1 - x)()
if this expression is divisible by g(x) we get 0 as remainder.
2. A number has exactly 3 prime factors, 125 factors of this number are perfect squares and 27 factors of this number are perfect cubes. overall how many factors does the number have?
We know that the total factors of a number N = ....
Now the total factors which are perfect squares of a number N =
where [x] is greatest intezer less than that of x.
Given = 125
So = 5; = 5; = 5
= 4 p = 8 or 9, similarly q = 8 or 9, r = 8 or 9
Given that 27 factors of this number are perfect cubes
so = 27
So = 3 = = 2
p = 6, 7, 8
By combining we know that p = q = r = 8
So the given number should be in the format = ....
Number of factors of this number = (8+1).(8+1).(8+1) = 729
3. In a class there are 60% of girls of which 25% poor. What is the probability that a poor girl is selected is leader?
Assume total students in the class = 100
Then Girls = 60% (100) = 60
Poor girls = 25% (60) = 15
So probability that a poor girls is selected leader = Poor girls / Total students = 15/100 = 15%
4. A and B are running around a circular track of length 120 meters with speeds 12 m/s and 6 m/s in the same direction. When will they meet for the first time?
A meets B when A covers one round more than B.
A's relative speed = (12 - 6) m/s. So he takes 120 / 6 seconds to gain one extra round.
So after 20 seconds A meets B.
5. A completes a work in 20 days B in 60 days C in 45 days. All three persons working together on a project got a profit of Rs.26000 what is the profit of B?
We know that profits must be shared as the ratio of their efficiencies. But efficiencies are inversely proportional to the days. So efficiencies of A : B : C = 1/20 : 1/60 : 1/45 = 9 : 3 : 4
So B share in the total profit = = Rs.4875
6. A completes a piece of work in 3/4 of the time in B does, B takes 4/5 of the time in C does. They got a profit of Rs. 40000 how much B gets?
Assume C takes 20 Days. Now B takes 4/5 (20) = 16 days. A takes 3/4(16) = 12
Now their efficiencies ratio = 1/20 : 1/16 : 1/12 = 12 : 15 : 20
B's share in the profit of Rs.40000 = 15/47 (40000) = Rs.12765
7. An empty tank be filled with an inlet pipe ‘A’ in 42 minutes. After 12 minutes an outlet pipe ‘B’ is opened which can empty the tank in 30 minutes. After 6 minutes another inlet pipe ‘C’ opened into the same tank, which can fill the tank in 35 minutes and the tank is filled. Find the time taken to fill the tank?
Assume total tank capacity = 210 Liters
Now capacity of pipe A = 210/42 = 5 Liters
Capacity of B = 210 / 30 = - 7 Liters
Capacity of C = 210 / 35 = 6 min
Assume tank gets filled in x min after the third pipe got opened.
So
Total time taken to fill the tank = 40.5 + 12 + 6 = 51.5
8. Mother, daughter and an infant combined age is 74, and mother's age is 46 more than daughter and infant. If infant age is 0.4 times of daughter age, then find daughters age.
Assume M + D + I = 74; .................(1)
Also given M - D - I = 46 M = D + I + 46
Also I = 0.4 D I = 2/5 D
Substituting M and I values in the first equation we get D - D - 46 + D + D = 74
Solving D = 10
9. A Grocer bought 24 kg coffee beans at price X per kg. After a while one third of stock got spoiled so he sold the rest for $200 per kg and made a total profit of twice the cost. What must be the price of X?
Total Cost price = 24X
As 1/3rd of the beans spoiled, remaining beans are 2/3 (24) = 16 kgs
Selling price = 200 16 = 3200
Profit = Selling price - Cost price = 3200 - 24X
Given Profit = 2 Cost price
3200 - 24X = 2 (24X)
Solving X = 44.44
10. Bhanu spends 30% of his income on petrol on scooter 20% of the remaining on house rent and the balance on food. If he spends Rs.300 on petrol then what is the expenditure on house rent?
Given 30% (Income ) = 300 Income = 1000
After having spent Rs.300 on petrol, he left with Rs.700.
His spending on house rent = 20% (700) = Rs.140
11. Let exp(m,n) = m to the power n. If exp(10, m) = n exp(2, 2) where to and n are integers then n =
Given
For m = 2 we get least value of n = 25, and for m > 2 we get infinite values are possible for n.
12. How many kgs. of wheat costing Rs. 5 per kg must be mixed with 45 kg of rice costing Rs. 6.40 per kg so that 20% gain may be obtained by selling the mixture at Rs. 7.20 per kg ?
If the selling price of the mixture is Rs.7.2 when sold at 20% profit then
CP = 7.2 CP = Rs.6
Now by applying weighted average formula =
K = 18 kgs
13. The diagonal of a square is twice the side of equilateral triangle then the ratio of Area of the Triangle to the Area of Square is?
Let the side of equilateral triangle = 1 unit.
We know that area of an equilateral triangle =
As side = 1 unit area of the equilateral triangle =
Now Diagonal of the square = 2 (side of the equilateral triangle) = 2
We know that area of the square = where D = diagonal
So area of the square =
Ratio of the areas of equilateral triangle and square = : 2
14. Raj tossed 3 dices and there results are noted down then what is the probability that Raj gets 10?
Always remember when 3 dice are rolled the number of ways of getting n ( where n is the sum of faces on dice)
= where n = 3 to 8
= 25 where n = 9, 12
= 27 where n = 10, 11
= where n = 13 to 18
The required probability = =
g(x) =
Then what is the remainder when f(x) is divided by g(x)
Let us multiply g(x) with x on the both sides
x.g(x) =
add 1 on both sides
x. g(x) + 1 =
Substitute this value in f(x)
then f(x) =
f(x) =
Now f(x) is divisible by g(x) first two terms are exactly divisible by g(x) and we get 1 -
But 1 - = (1 - x)()
if this expression is divisible by g(x) we get 0 as remainder.
2. A number has exactly 3 prime factors, 125 factors of this number are perfect squares and 27 factors of this number are perfect cubes. overall how many factors does the number have?
We know that the total factors of a number N = ....
Now the total factors which are perfect squares of a number N =
where [x] is greatest intezer less than that of x.
Given = 125
So = 5; = 5; = 5
= 4 p = 8 or 9, similarly q = 8 or 9, r = 8 or 9
Given that 27 factors of this number are perfect cubes
so = 27
So = 3 = = 2
p = 6, 7, 8
By combining we know that p = q = r = 8
So the given number should be in the format = ....
Number of factors of this number = (8+1).(8+1).(8+1) = 729
3. In a class there are 60% of girls of which 25% poor. What is the probability that a poor girl is selected is leader?
Assume total students in the class = 100
Then Girls = 60% (100) = 60
Poor girls = 25% (60) = 15
So probability that a poor girls is selected leader = Poor girls / Total students = 15/100 = 15%
4. A and B are running around a circular track of length 120 meters with speeds 12 m/s and 6 m/s in the same direction. When will they meet for the first time?
A meets B when A covers one round more than B.
A's relative speed = (12 - 6) m/s. So he takes 120 / 6 seconds to gain one extra round.
So after 20 seconds A meets B.
5. A completes a work in 20 days B in 60 days C in 45 days. All three persons working together on a project got a profit of Rs.26000 what is the profit of B?
We know that profits must be shared as the ratio of their efficiencies. But efficiencies are inversely proportional to the days. So efficiencies of A : B : C = 1/20 : 1/60 : 1/45 = 9 : 3 : 4
So B share in the total profit = = Rs.4875
6. A completes a piece of work in 3/4 of the time in B does, B takes 4/5 of the time in C does. They got a profit of Rs. 40000 how much B gets?
Assume C takes 20 Days. Now B takes 4/5 (20) = 16 days. A takes 3/4(16) = 12
Now their efficiencies ratio = 1/20 : 1/16 : 1/12 = 12 : 15 : 20
B's share in the profit of Rs.40000 = 15/47 (40000) = Rs.12765
7. An empty tank be filled with an inlet pipe ‘A’ in 42 minutes. After 12 minutes an outlet pipe ‘B’ is opened which can empty the tank in 30 minutes. After 6 minutes another inlet pipe ‘C’ opened into the same tank, which can fill the tank in 35 minutes and the tank is filled. Find the time taken to fill the tank?
Assume total tank capacity = 210 Liters
Now capacity of pipe A = 210/42 = 5 Liters
Capacity of B = 210 / 30 = - 7 Liters
Capacity of C = 210 / 35 = 6 min
Assume tank gets filled in x min after the third pipe got opened.
So
Total time taken to fill the tank = 40.5 + 12 + 6 = 51.5
8. Mother, daughter and an infant combined age is 74, and mother's age is 46 more than daughter and infant. If infant age is 0.4 times of daughter age, then find daughters age.
Assume M + D + I = 74; .................(1)
Also given M - D - I = 46 M = D + I + 46
Also I = 0.4 D I = 2/5 D
Substituting M and I values in the first equation we get D - D - 46 + D + D = 74
Solving D = 10
9. A Grocer bought 24 kg coffee beans at price X per kg. After a while one third of stock got spoiled so he sold the rest for $200 per kg and made a total profit of twice the cost. What must be the price of X?
Total Cost price = 24X
As 1/3rd of the beans spoiled, remaining beans are 2/3 (24) = 16 kgs
Selling price = 200 16 = 3200
Profit = Selling price - Cost price = 3200 - 24X
Given Profit = 2 Cost price
3200 - 24X = 2 (24X)
Solving X = 44.44
10. Bhanu spends 30% of his income on petrol on scooter 20% of the remaining on house rent and the balance on food. If he spends Rs.300 on petrol then what is the expenditure on house rent?
Given 30% (Income ) = 300 Income = 1000
After having spent Rs.300 on petrol, he left with Rs.700.
His spending on house rent = 20% (700) = Rs.140
11. Let exp(m,n) = m to the power n. If exp(10, m) = n exp(2, 2) where to and n are integers then n =
Given
For m = 2 we get least value of n = 25, and for m > 2 we get infinite values are possible for n.
12. How many kgs. of wheat costing Rs. 5 per kg must be mixed with 45 kg of rice costing Rs. 6.40 per kg so that 20% gain may be obtained by selling the mixture at Rs. 7.20 per kg ?
If the selling price of the mixture is Rs.7.2 when sold at 20% profit then
CP = 7.2 CP = Rs.6
Now by applying weighted average formula =
K = 18 kgs
13. The diagonal of a square is twice the side of equilateral triangle then the ratio of Area of the Triangle to the Area of Square is?
Let the side of equilateral triangle = 1 unit.
We know that area of an equilateral triangle =
As side = 1 unit area of the equilateral triangle =
Now Diagonal of the square = 2 (side of the equilateral triangle) = 2
We know that area of the square = where D = diagonal
So area of the square =
Ratio of the areas of equilateral triangle and square = : 2
14. Raj tossed 3 dices and there results are noted down then what is the probability that Raj gets 10?
Always remember when 3 dice are rolled the number of ways of getting n ( where n is the sum of faces on dice)
= where n = 3 to 8
= 25 where n = 9, 12
= 27 where n = 10, 11
= where n = 13 to 18
The required probability = =
No comments:
Post a Comment