A tram overtakes 2 persons X and Y walking at an average speed of 3 km/hr and 4 km/hr in the same direction and completely passes them in 8 seconds and 9 seconds respectively. What is the length of the tram ?
- A15 m
- B18 m
- C20 mCorrect
- D24 m
Explanation
Let the length of the tram be L meters and its speed be V km/hr.
When a tram passes a moving person, the relative speed is the difference between their speeds because they are moving in the same direction.
For the first person X: Relative speed = V minus 3 km/hr. Converting this to meters per second: (V minus 3) multiplied by 5/18. Distance covered is the length of the tram (L). L = (V minus 3) multiplied by 5/18 multiplied by 8 seconds. This simplifies to: L = (V minus 3) multiplied by 20/9.
For the second person Y: Relative speed = V minus 4 km/hr. L = (V minus 4) multiplied by 5/18 multiplied by 9 seconds. This simplifies to: L = (V minus 4) multiplied by 5/2.
Equating the two expressions for L: (V minus 3) multiplied by 20/9 = (V minus 4) multiplied by 5/2. Multiply both sides by 18 to remove denominators: (V minus 3) multiplied by 40 = (V minus 4) multiplied by 45. 40V minus 120 = 45V minus 180. 5V = 60. V = 12 km/hr.
Now, substitute V = 12 into the expression for L: L = (12 minus 4) multiplied by 5/2. L = 8 multiplied by 2.5. L = 20 meters.
The length of the tram is 20 meters. Thus, option C is correct.

Related questions
More UPSC Prelims practice from the same subject and topic.
- Prelims 2025CSATQuantitative Aptitude
P and Q walk along a circular track. They start at 5:00 a.m. from the same point in opposite directions. P walks at an average speed of 5 rounds per hour and Q walks at an average speed of 3 rounds pe…
- Prelims 2025CSATQuantitative Aptitude
A natural number N is such that it can be expressed as N = p + q + r , where p, q and r are distinct factors of N. How many numbers below 50 have this property?
- Prelims 2025CSATQuantitative Aptitude
Three prime numbers p, q and r, each less than 20, are such that p - q = q - r . How many distinct possible values can we get for (p + q + r) ?
- Prelims 2025CSATQuantitative Aptitude
How many possible values of (p + q + r) are there satisfying (1)/(p) + (1)/(q) + (1)/(r) = 1 , where p, q and r are natural numbers (not necessarily distinct)?
- Prelims 2025CSATQuantitative Aptitude
Team X scored a total of N runs in 20 overs. Team Y tied the score in 10% less overs. Had team Y's average run rate (runs per over) been 50% higher, the scores would have been tied in 12 overs. How ma…
- Prelims 2025CSATQuantitative Aptitude
The price (p) of a commodity is first increased by k% ; then decreased by k% ; again increased by k% ; and again decreased by k% . If the new price is q , then what is the relation between p and q ?