Draw a state machine diagram for the following problem:
Nowadays there are a lot of television channel. Some decades ago, however, in the dark 20th century, people could only receive five channels. Here, we model a television set from this period
ANSWER
STATE MACHINE DIAGRAM
1) Here there is two modes ( television mode and stand by mode), power button, volume and channel buttons.
2) In first time tv start , it goes to television mode and automatically choose channel 1 (CH1), and medium volume.
3) When the TV goes from television mode to stand by mode, the system stores the current volume and channel in a buffer for come back to the same channel and volume when the tv goes to television mode from current stand by mode.
4) When the tv powered off, the buffer will be cleared and when the tv powered on , it starts from channel 1.
If you find this useful, please rate positive, thank you very much....
Get Answers For Free
Most questions answered within 1 hours.