Question
Train A is 180 meters long, while another Train B is 240
meter long. Train A has a speed of 30 kmph and Train B’s speed is 40 kmph, if the trains move in opposite directions, then in what time will Train A pass Train B completely?Solution
Total distance = 180 + 240 = 420 meter Relative speed = (30 + 40) × 5/18 = 350/18 m/s Required time = (420 × 18)/ (70 × 5) = 21.6 sec
Any numbered relationship has how many participating entities?
Predict the correct output

What is the purpose of virtual memory?
Which boolean operator represents logical AND?
In Stop-and-Wait flow control, what happens if the sender does not receive an acknowledgment for a transmitted frame?
Which error correction technique is capable of correcting single-bit errors and detecting two-bit errors?
What is the purpose of a weak entity in the ER model?
What is the purpose of the Program Counter (PC) in CPU control design?
What is the time complexity of a dynamic programming solution for a problem with "n" subproblems and each subproblem taking "O(1)" time to solve?
What happens to the memory allocated to a local variable when the function exits?