Learn this topic first

Skip to the questions ↓

Read this, then start. Tap a topic to open or close it.

Problems on Trains
Exam weightage: MediumAbout 1 questions per placement paper. Seen most in TCS, Cognizant. All topics

A train is not a dot. To pass a pole it must move its whole length. To cross a platform it must move its length plus the platform's.

Pole or person vs platform or bridge

Passing a pole, a signal post or a standing person: distance = length of the train.

Crossing a platform, bridge or tunnel: distance = length of the train + length of the platform.

Two trains

Two trains passing each other cover the SUM of their lengths. Opposite directions: relative speed = sum of speeds. Same direction: difference.

Finding the train's length, and tunnels

Two situations with the same speed give the length: 'passes a pole in 15 s and a 300 m platform in 25 s' means the extra 300 m takes 10 s.

A tunnel is exactly like a platform: the train is fully out when its tail leaves, so distance = train + tunnel.

Worked exampleA train 240 m long passes a pole in 12 seconds. How long will it take to cross a platform 360 m long?
  1. Speed = 240 / 12 = 20 m/s.Passing a pole: distance = train length.
  2. Platform: distance = 240 + 360 = 600 m.
  3. 600 / 20 = 30 seconds.