Question
Train P travelling at 50 km/hr crosses another train Q,
having three fourth of its length and travelling in opposite direction at 40 km/hr in 14 seconds. Train P passed a railway platform in 36 seconds. Find the length of platform.Solution
Let the length of the first train is x metre Length of second train = 3x/4 Therefore, (50 + 40) x 5/18 = {x + (3x/4)}/14 ⇒ 90 x 5/18 = (7x/4)/14 ⇒ x = 200 m Therefore, let the length of the platform be y metre ⇒ 50 x 5/18 = (200 + y)/36 ⇒ 500 = 200 + y ⇒ y = 500 – 200 = 300 m
Slowly Changing Dimension (SCD) is used to:
Which command is used to make a shell script executable?
What does the #!/bin/bash line at the beginning of a shell script indicate?
Which character is used to denote a single-line comment in a shell script?
Which command is used to display the current working directory?
Which command is used to search text patterns in files?
How do you typically make a shell script file executable?
Which construct replaces a command with its output in a POSIX shell?
Which operator is used to append output to a file?
Which statement correctly defines a variable in shell scripting?