Question
Two pipes, A and B, together can fill a tank in 24
minutes. Both the pipes were opened together, but pipe A, which can fill the tank in 40 minutes, was closed 30 minutes before the tank got filled. In how many minutes did the tank get filled?Solution
Pipes A and B, together can fill a tank in 24 minutes Pipe A can fill the tank in 40 minutes Let the total capacity of tank be 120 (LCM of 24 and 40) (A + B)'s efficency = 120/24 = 5 A's efficency = 120/40 = 3 B's efficiency = 5 - 3 = 2 Now, Tank filled by B when A is closed = 30 × 2 = 60 so A and B filled the tank before A was closed = 60/5 = 12 min therefore, tank can be filled in 30 + 12 = 42 min
What will be the output of the code
int main(){
int x= 10;
int y=10;
int s=-(-x-y)
cout<
return 0;
}
In a virtual memory system, what is a "page fault"?
Which type of transistor is less susceptible to thermal runaway?
What is the unit of electric current?
Which transport layer protocol provides connection-oriented, reliable, and ordered delivery of data packets between applications?
The result of SQL select statement is?
What is an ER diagram used for?
Which routing protocol is commonly used within an autonomous system (AS) to determine the best path for data packets?
Which distribution is used to model the number of successful outcomes in a fixed number of independent Bernoulli trials?
Which component in the MVC architecture communicates directly with the database?