Question
A boat can travel 4.2km upstream in 14min. If the ratio
of the speed of the boat in still water to the speed of the stream is 7:1. How much time will the boat take to cover 17.6km downstream ?Solution
Speed = 7x : x
Downstream = 8x; upstream = 6x
Upstream speed = 4.2 x (60/14) = 18kmph
6x = 18
x = 3
Downstream = 8 x 3 = 24
Time taken for 17.6 km = 17.6 x (60/24) = 44 min
What is the time complexity of the peek operation (accessing the top element without removing it) in a stack implemented using a singly linked list?
You are designing a system where multiple threads need to access and modify a shared counter variable. What is a critical concern you must address to en...
Kernel is :
Which of the following scheduling algorithms minimizes average seek time?
Which of the following statements accurately describes the use of the SQL CREATE statement?
Which of the following is a non-linear data structure?
What is the primary purpose of cookies on a website?
Which of the following is a self-balancing Binary Search Tree that ensures a maximum height difference of 1 between the left and right subtrees of any n...
Which of the following is NOT a type of firewall?Β
If a class inheriting an abstract class does not define all of its function then it will be known as :