Pipes Opening or Closing at Different Times: 12 Solved MCQs
Practise 12 pipe and cistern MCQs in which the active pipes change. Each solution separates the timeline into phases and checks the resulting answer.
KnowledgeGate Team
Exam prep & CS education

The trouble begins when a pipe opens late, closes early or gets blocked. These 12 questions put every opening, closing, outlet and delayed start on a timeline, then check each option against the result. See placement preparation courses for supporting lessons.
1. The rate-and-timeline method to use for all 12 questions

A pipe filling in T time units has rate +1/T; an outlet has rate -1/T. Phase work = net rate times duration. Start a phase at every opening or closing.
Use fractions or a convenient capacity. For 12, 15 and 20 minutes, a 60-unit tank gives rates of 5, 4 and 3 units/minute.
For 36 and 45 minutes, 1/36 + 1/45 = 5/180 + 4/180 = 1/20 tank/minute. Reset at a change.
Allow 24 minutes, then check untimed. Use the broader aptitude preparation guide to sequence these drills.
2. Questions 1-2: one pipe starts later
Question 1
Tank A and Tank B start with the same amount of water, and each has enough water to keep draining throughout. Tank A drains water at 6 L/min, starting at 9:00. Tank B starts draining water at 8 L/min two minutes later, at 9:02. At what time will Tank A and Tank B again have the same amount of water?
(a) 9:12
(b) 9:10
(c) 9:08
(d) 9:04
Let t be minutes after 9:00. Then 6t = 8(t - 2), so t = 8, giving 9:08, option (c). Check: at 9:02 A leads by 12 litres; B closes it at 2 L/min in 6 minutes.
Question 2
Pipe A can fill a tank in 45 minutes, while pipe B takes an hour to fill it up. Pipe A is opened first and starts filling the tank. After 18 minutes, pipe B is also opened. How many more minutes (rounded off to the next minute) are required to fill the tank completely?
(a) 12 min
(b) 18 min
(c) 10 min
(d) 16 min
A fills 18/45 = 2/5, leaving 3/5. The new rate is 1/45 + 1/60 = 7/180, so time left is (3/5)/(7/180) = 108/7 = 15 3/7 minutes. Round up to 16, option (d). After 15 minutes, the tank is only 2/5 + 15(7/180) = 59/60 full.
3. Questions 3-4: a pipe is removed after a fixed interval
Question 3
Three pipes A, B and C together can fill a cistern in 6 hours. After working at it together for 2 hours, C is closed and A and B can fill the remaining part in 7 hours. The number of hours taken by C alone to fill the cistern is:
(a) 12
(b) 14
(c) 16
(d) 18
Together they fill 2/6 = 1/3, leaving 2/3. A and B's rate is (2/3)/7 = 2/21. C's rate is 1/6 - 2/21 = 1/14, so C takes 14 hours, option (b).
Question 4
Pipe A alone can fill a tank in 8 hours. Pipe B alone can fill it in 6 hours. If both the pipes are opened and after 2 hours pipe A is closed, then pipe B will fill the tank in :
(a) 2 hours
(b) 2.5 hours
(c) 3 hours
(d) 3.5 hours
In 2 hours, A and B fill 2(1/8 + 1/6) = 7/12. B fills the remaining 5/12 in (5/12)/(1/6) = 2.5 hours, option (b).
4. Questions 5-6: two-stage shutdowns
Question 5
Three pipes A, B and C are connected to a tank. Working alone, they require 10 hours, 20 hours and 30 hours respectively. After some time, A is closed and after another 2 hours, B is also closed. C works for another 14 hours so that the tank gets filled completely. Find the time (in hours) after which pipe A was closed.
(a) 1
(b) 1.5
(c) 2
(d) 3
For 60 units, the rates are 6, 3 and 2 units/hour. The phases give 11t + 5(2) + 2(14) = 60. Hence 11t = 22 and t = 2 hours, option (c).
Question 6
Three pipes A, B and C were opened to fill a cistern. Working alone, A, B and C require 12, 15 and 20 minutes respectively. After 4 minutes of working together, A got blocked and after another 1 minute, B also got blocked. C continued to work till the end and the cistern got completely filled. What is the total time taken to fill the cistern ?
(a) 6 minutes
(b) 6 minutes 15 seconds
(c) 6 minutes 40 seconds
(d) 6 minutes 50 seconds
For 60 units, the rates are 5, 4 and 3 units/minute. The first phase fills 4(12) = 48 units. B and C add 7, leaving 5. C needs 5/3 minute, or 1 minute 40 seconds. Total: 6 minutes 40 seconds, option (c).
5. Questions 7-8: an outlet enters and a deadline controls a shutoff
Question 7
Two pipes A and B can fill a tank in 36 minutes and 45 minutes respectively, and another pipe C can empty the tank in 30 minutes. Pipes A and B are opened first, and 7 minutes later pipe C is also opened. Find the time taken to fill the tank.
(a) 39 minutes
(b) 42 minutes
(c) 48 minutes
(d) 46 minutes
A and B's rate is 1/20. Seven minutes fill 7/20, leaving 13/20. With C, the rate is 1/20 - 1/30 = 1/60. The remainder takes (13/20)/(1/60) = 39 minutes, making 46 total, option (d).
Question 8
Two pipes A and B can fill a cistern in 24 hours and 32 hours respectively. If both pipes are opened simultaneously, find out when the pipe A must be turned off so that the cistern can be filled in exactly 16 hours?
(a) 14 hr
(b) 8 hr
(c) 6 hr
(d) None of these
B fills 16/32 = 1/2. A supplies the other half in (1/2)/(1/24) = 12 hours. Since 12 is absent, choose option (d), None of these.
6. Questions 9-10: switching at a fill level

Question 9
There are two pipes that can independently fill a tank in 20 minutes. Both these pipes are opened together and when the tank is half filled, one of them is shut. How long will it take to fill the tank from the moment when the pipes were opened ?
(a) 15 min
(b) 20 min
(c) 25 min
(d) 30 min
Together they fill half in (1/2)/(1/10) = 5 minutes. One pipe fills the rest in (1/2)/(1/20) = 10 minutes. Total: 15, option (a).
Question 10
A tank can be filled by two pipes A and B in 20 minutes and 60 minutes respectively. How many minutes will it take to fill the tank from empty state if B is used to fill first half and A and B together for the other half?
(a) 32.5 min
(b) 37.5 min
(c) 30 min
(d) 40 min
B fills half in (1/2)/(1/60) = 30 minutes. Together, the rate is 1/15, so the second half takes 7.5 minutes. Total: 37.5, option (b). Check: A adds 3/8 and B adds 1/8 in phase two.
7. Questions 11-12: advanced closing and staggered starts
Question 11
Pipes M, N and S can fill a tank in 25, 50 and 100 minutes, respectively. Initially, pipes N and S are kept open for 10 minutes, and then pipe N is shut while pipe M is opened. Pipe S is closed 15 minutes before the tank overflows. How much time (in minutes) will it take to fill the tank if the three pipes work in this pattern?
(a) 30
(b) 33
(c) 42
(d) 27
Let total time be T. N and S first fill 10(1/50 + 1/100) = 0.3. M and S then run for T - 25 minutes at 1/25 + 1/100 = 0.05. M alone fills 15/25 = 0.6 last. Thus 0.3 + 0.05(T - 25) + 0.6 = 1, giving T = 27. The middle phase lasts 2 minutes, so choose (d).
Question 12
Four pipes can fill a reservoir in 15, 20, 30 and 60 hours respectively. The first one was opened at 6 AM, second at 7 AM, third at 8 AM and the fourth at 9 AM. When will the reservoir be filled ?
(a) 11 AM
(b) 12 Noon
(c) 1 PM
(d) 1:30 PM
Use 60 units, with rates 4, 3, 2 and 1 unit/hour. The first three phases fill 4, 7 and 9 units. At 9 AM, 40 remain. At 10 units/hour, that needs 4 hours, finishing at 1 PM, option (c). Check: 7/15 + 6/20 + 5/30 + 4/60 = 1.
8. Answer key, mistake diagnosis and the next practice step
Answer key: 1-C, 2-D, 3-B, 4-B, 5-C, 6-C, 7-D, 8-D, 9-A, 10-B, 11-D, 12-C.
Questions missed | Skill to repair | What to redraw |
|---|---|---|
Q1-Q2 | Delayed-start setup | Start times and the first common clock |
Q3-Q6 | Closing-phase accounting | A new row after each shutdown or blockage |
Q7 | Outlet sign | C as -1/30, not +1/30 |
Q8 | Option discipline | The computed 12 hours against every option |
Q9-Q10 | Switching at a fill fraction | Separate rows before and after half-full |
Q11-Q12 | Event-timeline bookkeeping | Every clock endpoint and active pipe set |
Three traps matter: C's 1/30 is negative in Q7; A stops after minute 4 in Q6; Q11's "15 minutes before" marks the last M-only phase.
Redraw the active-pipe timeline for each miss and retry after 24 hours. The spaced retry schedule helps space retries, and the Bank PO quantitative aptitude priorities show where this topic sits in a bank syllabus.
For placements, use Aptitude for Placement. For GATE, use Aptitude for GATE. Repeat until every opening or closing starts a new rate equation.
Keep learning
Linux IPC and Networking: Pipes, Sockets and a Worked Request-Reply Example
Choose IPC by scope, data shape and synchronization, then trace a 16-byte request-reply exchange through two pipes and TCP.
Why Two Students With the Same GATE Score Get Different College Options
A GATE score is important, but it is not a seat-allocation formula. Here is why two candidates with the same score can see very different college options.
Inter-Process Communication for GATE: Shared Memory, Message Passing and Pipes Compared
Learn who moves the data and who provides synchronization in each IPC model, then test the distinction through six carefully adjudicated statements.
PSU Through GATE: Score vs Rank vs Cutoff for Shortlisting
Your GATE scorecard and a PSU notice may use different measures. Learn how to identify the field that actually controls a shortlist comparison.





