Draw a state machine diagram to show the following


Draw a State Machine Diagram to show the following behaviors of a DVD player. Be sure to label all transitions with the events that cause them. The DVD player is initially off. It can turned on or off by pressing the power button. When it is off, none of the other buttons do anything. When it is on, the tray can be opened or closed by pressing the eject button. When it is open, only the power and eject buttons will do anything. When the tray is closed, the motor is either spinning or stopped. When you turn on the power or close the tray, the machine first spins up the motor to read the disk. It then gets one of three signals: (a) no disk – it stops the motor, and disables all buttons other than eject and power. (b) timeout, indicating it was unable to read the disk – it stops the motor, displays an error message, and disables all buttons other than eject and power. (c) disk okay – it stops the motor, but enables the play control buttons. There are three play control buttons. Play starts the DVD playing, spinning up the motor if necessary. Pause toggles between playing and paused, without stopping the motor. Pause does nothing if pressed when the motor is stopped. Stop stops the motor, if it was spinning.

Request for Solution File

Ask an Expert for Answer!!
Operation Management: Draw a state machine diagram to show the following
Reference No:- TGS02172260

Expected delivery within 24 Hours