Draw state machine models of the control software for the following systems: An automatic washing machine
Question:
Draw state machine models of the control software for the following systems:
■ An automatic washing machine that has different programs for different types of clothes.
■ The software for a compact disk player.
■ A telephone answering machine that records incoming messages and displays the number of accepted messages on an LED display. The system should allow the telephone owner to dial in, type a sequence of numbers (identified as tones) and have the recorded messages replayed over the phone.
■ A vending machine that can dispense coffee with and without milk and sugar. The user deposits a coin and makes his or her selection by pressing a button on the machine. This causes a cup with powdered coffee to be output. The user places this cup under a tap, presses another button and hot water is dispensed.
Step by Step Answer: