There are 2 empty jars of 5 and 3 liters capacity. And a
river is flowing besides. I want to measure 4 liters of
wanter using these 2 jars. How do you do this?

Answers were Sorted based on User's Feedback



There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measu..

Answer / sonia

fill 5 liters jar and pour in 3 liters------ now you have 3 in 3 liters and 2 in 5 liters.
pour away the 3 in 3 liters jar and transfer the 2 in the now empty 3 liters.
Fill 5 liters jar again and pour in 3 liters jar----- Now you have 1 from 5 liters and 2 that were in 3 liters jar already. this gives you 4 in the 5 liters jar.

Is This Answer Correct ?    0 Yes 0 No

There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measu..

Answer / guest

First fill up the 5 liters jar and start filling 3 liters
jar. so now second jar has 3 liters and first jar has 2
liters. Now again fill 5 liters fully and to complete
second jar 1 liter is needed. So, put water in second jar
from first jar. so, 3 liters jar is full now. And first jar
has 4 liters water.

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More OOPS Interview Questions

What is polymorphism explain its types?

0 Answers  


what is cast operator?

2 Answers   Microsoft,


Describe what an Interface is and how it?s different from a Class.

7 Answers   Spinsys,


Round up a Decimal number in c++.. example Note = 3.5 is as 4 3.3 is as 3

3 Answers   Accenture, Cognizant, IBM,


What is the difference between class and object?

4 Answers   Apple, Heinz,






what is mean by design pattern

4 Answers  


Whats oop mean?

0 Answers  


The type of variable a pointer points to must be the part of pointer's definition so that:

1 Answers   Infosys,


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

0 Answers  


What is an interface in oop?

0 Answers  


Program to check whether a word is the first word of the sentence.

1 Answers  


Why do we use polymorphism in oops?

0 Answers  


Categories