Question
500 metre long train βAβ is running with a speed of
97.2 km/hr. Train βBβ which is 656 metre long is running with a speed of 90 km/h in opposite direction of train βAβ. For how much time, the smaller train is completely obscured by the larger train when they cross each other?Solution
Length of smaller train = 500 metre Speed of smaller train = 97.2 Γ (5/18) = 27 m/s Length of bigger train = 656 metres Speed of bigger train = 90 Γ (5/18) = 25 m/s Since, the smaller train is completely obscured by larger train, therefore, extra length of larger train = 656 β 500 = 156 metres Relative speed of trains βAβ and βB β= 27 + 25 = 52 m/s (Since, the trains are running in opposite direction) Required time = 156/52 = 3 second
In a depth-first traversal of a tree or graph, what data structure is typically used to keep track of nodes to be visited next?
In which part of a function are local variables typically declared?
What is the main purpose of hashing in blockchain?
Which key is kept secret and known only to the owner in a public key pair?
Which of the following statements is true regarding the class NP?
Frames are related to which layer of OSI model
In which network topology does each node have a direct connection to every other node?
What does the term "bandwidth" refer to in analog electronics?
The time taken by a single bit to travel around the ring is known as ___?
What is a deadlock in a computer system?