Citrix System Inc Interview Question for Quality Assurance Engineers


Team: Xen-Client
Country: India
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
2
of 2 vote

fill 5 ltr jar and pour it in 3 ltr, so 2 ltr remains in 5 ltr jar.
Empty 3 ltr jar and pour 2 ltr from 5 ltr jar into it.
Now fill 5 ltr jar again and use it to fill remaining 1 ltr in 3 ltr jar. that keeps 4 ltr in 5 ltr jar

- mp April 05, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

yes, that's the only answer possible..

- abh007 July 26, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

@abh007
nop, thats not the only answer.. even though following has more steps, it does achieve the goal..
1> fill up 3 ltr jug -> pour it into 5 ltr jug
2> fill up 3 ltr jug -> pour as much as possible in 5 ltr jug
3> empty 5 ltr jug
4> pour 1 ltr remaining liquid from 3 ltr jug into 5 ltr jug
5> fill up 3 ltr jug again and pour it into 5 ltr jug.. now 5 ltr jug has 4 ltr liquid in it

- Anonymous November 01, 2014 | Flag
Comment hidden because of low score. Click to expand.
1
of 1 vote

1) fill the 2
2) 2 -> 5
3) repeat step 1 and 2

You will have 4 in 5. So, what is the point of this interview question?

- Ric February 20, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

I am sorry question is -> You have a 3 liter & 5 liter jugs and a tank of milk. So using these 2 jugs get 4 liter milk in 5 liter jug ?

- Hmmm February 26, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

i like the last line of the last answer and wonder why question and its original complicated answer

- abhishek February 21, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

1. fill just a half of each jugs
3->1.5;
5->2.5)
2. pour jug 3 into jug 5, you will have 1.5+2.5=4

- BorisA April 03, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

there is no measure of half MR.
try another method....

- abh007 July 26, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

i hav water of 2 jugs with 21liters and 26liters jug?how to measure 3liters of water using that two jugs...
i want answer?

- archana September 01, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

step 1 fill 26 put it into 21
step 2 empty 21 lt jug and fill it with rem ltr of 26
do this until u get 3 ltr left in 26 ltr jug........
approx in 21 times

- anandkmr144 September 03, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

1. Fill 2 litre
2.empty the 2 litre in 5 litre
3.again fill 2 litre
4.empty into 5 litre


Representation:

5 2
0 2
2 0
2 2
4 0

With no wastage

- Smitha February 26, 2015 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More