Question
A boat takes half time in moving a certain distance
downstream than upstream. The ratio of the speed of the boat in still water and that of the current is :Solution
Downstream speed = x + y Upstream speed = x – y Speed = Distance/Time => x  + y = D/T  ------ (i) => x - y = D/2T  ------ (ii) On solving (i) and (ii) we will get, => x = 3D/4T => y = D/4T => x/y = (3D/4T) × (4T/D) = 3∶ 1
What is the worst-case time complexity for inserting an element into a hash table that uses separate chaining for collision resolution?
Which traversal method visits the root node first in trees?
Which algorithm is used for computing Max-Flow in a network?
In the context of Management Information Systems (MIS), which of the following best describes the role of a decision support system (DSS)?
Which of the following is a primary feature of Mobile Computing?
Time complexity of heap sort is:
Which of the following traversal methods is used to visit nodes in the order "left child, root, right child" in a binary tree?
Which of the following best describes the function of the Control Unit (CU) in the CPU?
Which of the following statements about parameter passing in Python is TRUE?
Priority Queue allows access to elements based on priority rather than order.