Question

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.

Generate-and-Test systems often Do Identification To use the generate-and-test to identify, say, a tree, you can reach for a tree book, then thumb through it page by page, stopping when you find a picture that looks like the tree to be identified. Thumbing through the book is the generation procedure matching the pictures to the tree is the testing procedure. To use generate and test to burgle a three-number, two-digit safe, you can start with the combination 00-00-00, move to 00-00-01, and continue on through all possible combinations until the door opens. Of course, the counting is the generation procedure and the twist of the safe handle is the testing procedure. The burglar in figure 3.2 may take some time to crack the safe with this approach, however, for there are 100 1 million combinations. At three per minute, figuring that he will have to go through half of the com- binations, on average, to succeed, the job will take about 16 weeks, if he works 24 hours per day.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

65- 1776 1s0

Add a comment
Know the answer?
Add Answer to:
For the Generate and Test problem solving method good generators are complete, non-redundant, and use useful...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT