Question
A man can go on a motorboat with a speed of 12 km/hour
in still water to a certain upstream point and return to the starting point in a river that flows at a speed of 8km/hour. Find the average speed of the motorboat for the total journey. Type-sscSolution
Let the speed of the boat be b km/hour and the speed of the current be s km/hour. Average speed = 2xy/ (x+ y) (here, x is the speed of downstream and y is the speed of upstream) = (2 (b +s) (b-s))/ ((b+ s +b -s)) = (b2 - s2)/b = (144 - 64)/12 = 80/12 = 20/3 Km/h
Which of the following integrity constraints ensures that every non-null foreign key value must reference an existing primary key value in another tabl...
Hashing is used for:
The amortized cost of appending an element at the end of a dynamic array is:
Consider the following stack operations. What will be the content of the stack after executing all the operations?
Stackstack = new Stack... Which of the following is NOT among the OWASP Top 10 Web Security Risks?
In Python, what will be the output of the following code snippet, considering scope rules?
x = 5
In asymmetric encryption, which of the following statements is correct?
Which algorithm constructs a suffix tree in linear time?
What is the primary purpose of a B+ Tree in a database management system?
Which sorting algorithm has O(n log n) average case?