The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 2 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Plese help me answer two questions in the attached files.
Â
1. Construct a finite-state machine for an electronic door lock that implements the followingrules: A user enters a string of three digits, one digit at a time. If the user enters thecorrect three digits, the door will unlock. When the user enters an incorrect string of threedigits, the electronic lock will make a beeping sound (but only after all three digits havebeen entered).2. A pet owner is taking three of her pets to the vet: one dog, one cat, and one mouse. Shewas able to put all of them in her car and is now ready to take them to the vet's office. Thepet owner has suffered a terrible accident and only has one hand. Thus she can only carryone of her pets at a time. If she leaves the dog and the cat in the car, the dog will attackthe cat. If she leaves the mouse and the cat in the car, the cat will eat the mouse. On theother hand, the dog and the mouse will leave each other be. How can this pet owner bringall three animals to the vet's office? Represent your answer with an FSA and justify youranswer.
Attachments: