20 points) For the Generate and Test problem solving method good generators are
ID: 3802662 • Letter: 2
Question
20 points) For the Generate and Test problem solving method good generators are complete, non-redundant, and use useful information to restrict the number of possible solutions. In the burglar problem described below suppose that the burglar knows the following information respectively, please estimate the average time that a wise burglar who may open the safe:
a) the second digit is 5, other digits are even
b) the first digit is even, the sum of the last three digits is 12.
Explanation / Answer
S, total six digits are there,
a) in which the second digit is 5 and the other digits are even
So now at one place one digit is fixed which is 5, now other digits are even means 0, 2, 4, 6, 8, so 1, 3, 5, 7, 9 cannot come at other 5 places for combination this possible number of combinations will be= 65= 7776
So time taken will be ((7776/3)/60)= 43.2 Hrs
b) in this case, the first digit is even and the sum of last three digits is 12
So for last three digits there are 19 ways we can produce sum 12,
Now the number of posibilities will be 5*19*100= 9500
So time taken will be ((9500/3)/60)= 52.78 Hrs
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.