retagged by
1,734 views

2 Answers

3 votes
3 votes
ans will be D) 7

water in    3 litre jug    5 litre jug

state 1          0           0

state 2          0           5    //fill 5 litre juf

state3           3           2    //fill 3 litre jug with 5 litre jug

state4           0           2     //empty first jug

state5           2           0    // empty second jug into first

state6           2           5   // again fill second  jug of 5 litre

state7           3          4    // fill first jug from second
1 votes
1 votes
Take 5 ltr jug water 1st then put it in 3ltr jug . left is 2 ltr.

Empty 3ltr jug now fill 3 ltr with left 2ltr water of 5ltr jug. now 3 ltr jug has 2 ltr water . take 5 ltr more water put it in 3 ltr jug .

Left in 5 ltr jug is 4 ltr water.

ans is 5 i.e. 0 in initial , 5, 3, 2, 4 atlast
Answer:

Related questions

1 votes
1 votes
1 answer
1
go_editor asked Jul 19, 2016
3,379 views
Consider a single perception with weights as given in the following figure:and $f(t)$ is defined as$f(t) \bigg\{ 1, t>0 \: 0, t \leq 0$The above perception can solveOR p...
2 votes
2 votes
1 answer
3
go_editor asked Jul 19, 2016
2,686 views
A fuzzy set A on R is ______ iff $A(\lambda x_1 + (1- \lambda)x_2) \geq min [A(x_1), A(x_2)]$ for all $x_1, x_2 \in R$ and all $\lambda \in [0,1]$ where minimum denotes t...
3 votes
3 votes
2 answers
4
go_editor asked Jul 19, 2016
12,499 views
Which of the following is a knowledge representation technique used to represent knowledge about stereotype situation?Semantic networkFramesScriptsConceptual Dependency