Question
Pipe βAβ takes 25 minutes to fill a tank. Pipe
βBβ takes 30 minutes to empty the same tank. If pipe βBβ is opened 18 minutes after pipe βAβ, then find the total time taken to fill the tank in this manner.Solution
Let the capacity of the tank be β150β litres {LCM (25, 30)} Efficiency of pipe βAβ = (150/25) = 6 litres/minute Efficiency of pipe βBβ = (150/30) = 5 litres/minute Quantity of water filled by pipe βAβ in 18 minutes = 18 Γ 6 = 108 litres Quantity of water to be filled = 150 β 108 = 42 litres Time taken by pipe βAβ and βBβ together to fill 42 litres of water = {42/(6 β 1)} = 42 minutes Total time taken = 18 + 42 = 60 minutes
What is the primary purpose of the Banker's Algorithm in operating systems?
Handshaking is :
Which access specifier allows data to be accessed only within the class?
A DP solution for LCS is producing incorrect lengths. Upon inspection, the dp table is being filled, but the values don't match expected outcomes. Which...
In dimensional modeling, what is a fact table?
Consider the following C code snippet:
Β Β #include
Β Β void printPattern(int n) {
Β Β Β Β if (n <= 0) {
οΏ½...
In object-oriented programming, when defining an interface method, which of the following statements is true regarding method parameters?
Bus topology is also known by which one of the alternative names below?
What is the relationship between encapsulation and abstraction?
What is unguided transmission in the context of data communication?