Question
A goods train and a passenger trains are running on
parallel tracks in the same direction.The driver of the goods train observes that the passenger train coming from behind overtakes and crosses his train completely in 50 seconds. Whereas a passenger on the passenger train marks that he crosses the goods train in 20 seconds. If the speed of the trains be in the ratio of 1:3, find the ratio of their lengths?Solution
Suppose the speeds of the two trains x m/sec and 3x m/sec respectively. Also, suppose that the lengths of the two trains are A m and B m respectively. Then, ((A+B)/(3x - x)) = 50    ……………….. (i) and (A/(3x - x)) = 20      ……………… (ii) Dividing (i) by (ii), we get ((A+B)/A) = 50/20 B/A + 1 = 5/2 B/A = 3/2 or A:B = 2:3
Which of the following query will return the third-highest salary from an Employee table in SQL?
Abstract Class in Java
Which of the following best describes a significant difference between distributed parallel computing and cloud computing?Â
Which of the following sorting algorithms is NOT stable?Â
Which protocol is most commonly used in IoT devices for lightweight, efficient communication in constrained networks?
In object-oriented programming, what type of polymorphism is achieved at runtime?Â
In a hypervisor-based virtualization environment, which of the following storage solutions is best suited for providing high availability and scalabilit...
Which of the following is not a method of inter-process communication (IPC) in modern operating systems?Â
What will be the output of the following code when the pop method is executed?
class Stack:
  def __init__(self):
    s...
In a mission-critical network requiring fault tolerance and multiple redundant paths, which of the following topologies provides the highest level of re...