CAT DILR Questions | CAT Logical Reasoning questions

Comprehension

Directions for questions: Read the information given below and answer the questions that follow :

There are three vessels A, B and C with capacities 5, 3 and 2 respectively. There is a computer program that can perform certain functions as described below:

Drain (Y) : drains the liquid in a vessel Y.

Fill (X, Y) : fill amount from Y into X such that the amount of liquid withdrawn from Y is equal to the liquid in X.

Empty (X,Y) : empty amount from Y into X such that the amount left in Y is equal to the amount of liquid in X.

CAT/2000

Question . 145

In addition to the three operations in above problem, the fourth operation performed is Drain A. What operations should follow so that A contains four litres of liquid ?

View Answer

Explanatory Answer

Method of solving this CAT DILR Question from Logical Reasoning question

(d) After the above steps vessel A has one litre, vessel B and C has two litters each. After drain A it is empty now there can be four liters in A only if the liquids from C and B are emptied into A. This will happen by the commands Fill (A, C) and Fill (A, B).