Question

Draw a state machine diagram for the following problem: Nowadays there are a lot of television...

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

  • The television has the following buttons power, p+, p-, V+ and V-
  • A television which is powered on has two modes: television mode and stand-by mode. The power button switches between these two mode.
  • In television mode the television shows one of five channels (1-5). Additionally, it has three sounds volumes(quite, medium,loud). The P+ and p- buttons and the V+ and V- buttons switch between the various channels and volumes , respectively.
  • In stand-by mode, the channel and volume are saved; that is, the last channel is shown, when the power button is pressed, in the volume chosen last.
  • When the television is turned on for the first time, the first active mode is television mode, the first shown channel is 1, and the volume is set to “medium”

Homework Answers

Answer #1

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....

Know the answer?
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
Similar Questions
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT