Question
βAβ and βCβ together can dig a hole in 8 hours
while βAβ, βBβ and βCβ together can dig the same hole in 6 hours. Find the time taken by βBβ alone to dig the same hole.Solution
Let the total work be 24 units {LCM (8 and 6)}
Efficiency of βAβ and βCβ together = 24/8 = 3 units/hour
Efficiency of βAβ, βBβ and βCβ together = 24/6 = 4 units/hour
Efficiency of βBβ = 4 β 3 = 1 unit/hour
Time taken by βBβ to dig the same hole alone = (24/1) = 24 hours
Which of the following is true about a view in SQL?
Which command is used to remove all records from a table without deleting the table structure?
What is early binding in the context of OOP?
Which OOP principle allows a single interface to represent different underlying forms or data types?
The concept of "data hiding" is primarily achieved through which OOP principle?
Which SQL keyword is used to sort the result set?
Which of the following statements about abstract classes is true?
In C++, if a base class has a virtual function, and a derived class overrides that function, which mechanism ensures that the correct derived class func...
Which of the following is used to eliminate redundancy and anomalies in a database?
Which of the following prevents inheritance in C++?