Question
A boat can travel 22 km more in downstream than that in
upstream, in 11 hours while the difference between the time taken by the same boat to travel 220 km and 120 km, in still water, is 4 hours. Find the approximate time taken by the boat to travel 200 km in downstream and 110 km in upstream.Solution
Let the speed of boat in still water and speed of stream be 'x' km/hr and 'y' km/hr, respectively. According to question; (220/x) - (120/x) = 4 Or, (100/x) = 4 So, x = 25 Now, 11 x (25 + y) = 11 x (22 - y) + 22 Or, 275 + 11y = 275 - 11y + 22 Or, 22y = 22 So, y = 1 So, downstream speed of the boat = (25 + 1) = 26 km/hr And, upstream speed of the boat = (25 - 1) = 24 km/hr Required time taken = (200/26) + (110/24) ~ (8 + 5) ~ 14 hours
Which SQL statement is used to remove all rows from a table without logging individual row deletions?
Consider a `Stack` data structure implemented with `push` and `pop` operations. What is the final state of the stack after the following sequence of ope...
A column or set of columns that uniquely identifies each row in a table is called a:
Deadlock occurs when:
Which of the following is a non-relational database?
Which SQL command is used to retrieve data from a database?
Wait-Die and Wound-Wait are strategies for:
Given the `SinglyLinkedList` and its `delete_node` method as provided, what will be the output of `my_list.print_list()` after the following sequence of...
The "Dirty Read" problem occurs when:
Which of the following is a common technique for concurrency control in databases?