Question
Buses start from a bus terminal with a speed of 20 km/hr
at intervals of 12 minutes. What is the speed of a boy coming from the opposite direction towards the bus terminal if he meets the buses at intervals of 10 minutes?Solution
Let the speed of boy = x kmph According to the question, Distance travelled by bus in 12 min with 20 kmph = Distance travelled by boy in 10 min with (20 + x) kmph in opposite direction => 20 × 12/60 = 10/60 (20 + x) => 240 = 200 + 10x => x = 40/10 = 4 kmph.
In Data Communication, what protocol is used to ensure reliable transmission of data over a network?
Which shortest-path algorithm is appropriate for graphs with non-negative weights and supports decrease-key efficiently for faster performance?
The recurrence relation T(n) = 2T(n/2) + O(n) corresponds to which algorithm’s time complexity?
In Database Management Systems, what is the primary purpose of normalization?
In a binary tree, if the number of leaf nodes is L, what is the number of nodes with two children?
Which data structure supports extraction of both min and max in O(1) time and insertion in O(log n)?
A unique piece of information that is used in encryption.
In hashing, what is a collision?
Which of the following is true about the time complexity of Merge Sort?
In dynamic programming, which principle ensures correctness by solving overlapping subproblems and storing results?