Question
A train crosses a stationary tree
in 13 seconds and a 150-meter-long bridge in 18 seconds. If a dog is walking in the same direction as the train at a speed of 4 m/s, how much time will the train take to completely pass the dog?Solution
ATQ,
Let the length of the train = βxβ metres Then, distance covered by the train in 13 seconds = βxβ metres Distance covered by the train in 18 seconds = (x + 150) metres So, distance covered by the train in 5 seconds i.e. (18 β 13) seconds = (x + 150 β x) metres So, speed of the train = (150/5) = 30 m/s Length of the train = 30 Γ 13 = 390 metres Relative speed of the train with respect to the dog who is walking in opposite direction = 30 β 4 = 26 m/s So, time taken by the train to cross the dog = 390 Γ· 26 = 15 seconds.
Performance of cache memory is frequently measured in terms of
What is the advantage of using incremental backups over full backups?
Which phase involves creating detailed plans, schedules, and resource allocation for the software project?
Β
Which of the following is true about Java's memory management?
Which of the following models used for software reliability
In object-oriented programming, what is inheritance?
In a pipelined CPU design, what is the purpose of the instruction pipeline?
Which key is used to create a digital signature?
What does ACID stand for in the context of database transactions?
The boolean function f(x, y, z) = (x AND y) OR (NOT(y) AND z) is equivalent to which of the following boolean expressions?