Question
Two trains of same length are running in parallel tracks
in the same direction with speed 45 km/hr and 105 km/hr respectively. The latter completely crosses the former in 30 seconds. Find the length of each train (in m).Solution
When two trains cross each other, they cover distance equal to the sum of their lengths with relative speed. Let's take length of each train = x So, total length of both trains = 2x Relative speed = (105 – 45) × (5/18) = 50/3 m/sec. ∴ Total length = Time × Relative speed ⇒ 2x = (30 × 50)/3 ⇒ x = 250 m
What does Section 66A of IT Act define?
A data analysis task requires repeatedly extracting the element with the highest priority from a collection. Which heap operation is used for this, and ...
Consider the following Java code snippet:
import java.util.PriorityQueue;
public class HeapQuestion9 {
publ...
The latency of a network is
The Knuth-Morris-Pratt (KMP) algorithm improves upon the Naive approach by avoiding unnecessary re-comparisons. It achieves this by:
Round robin scheduling is essentially the preemptive version of
Which of the following programming language most of “Wireshark” is implemented in?
Which is not an IoT OS?
What are the 3v’s of Big Data?
Consider the in-order traversal of a Binary Search Tree. What characteristic does the sequence of visited nodes possess?