Question
A boat can row to a place of 60km away and come back
in hours. The time to row 12 km with the stream is same as the time to row 8km against the stream. Find the speed of the current?Solution
Speed downstream = 12/x km/hr Speed upstream = 8/x km/hr According to the question, 60/(12/x) + 60/(8/x) = 25/2 60 (x/12+x/8) = 25/2 15 (x/3+x/2) = 25/2 x = 1 So, speed downstream = 12 km/hr Speed upstream = 8 km/hr Speed of current = 1/2 (12 – 8) = 2km/hrÂ
Which of the following is used to eliminate redundancy and anomalies in a database?
Which command is used to remove all records from a table without deleting the table structure?
The result of a Cartesian product of two relations R and S will have:
Which OOP principle allows a single interface to represent different underlying forms or data types?
Which of the following is true about a view in SQL?
A primary key in a table:
Which SQL keyword is used to sort the result set?
The concept of "data hiding" is primarily achieved through which OOP principle?
Which of the following is a valid constraint in SQL?
Which of the following statements about abstract classes is true?