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
Active Questions
  • Consider insertsort. Suppose that the input array A has 1% probability to be monotonically decreasing. Show...
    asked 8 minutes ago
  • Your company is thinking of introducing a Bring Your Own Device (BYOD) policy. You have been...
    asked 15 minutes ago
  • Attached is the file GeometricObject.java. Include this in your project, but do not change. Create a...
    asked 17 minutes ago
  • Suppose the number of cars in a household has a binomial distribution with parameters n =...
    asked 20 minutes ago
  • HR needs some information on the new interns put into a database. Given an id, email,...
    asked 41 minutes ago
  • Problem solving strategies Questions years = input("Enter a number of years and I'll tell you how...
    asked 45 minutes ago
  • Calculate ?Hrxn for the following reaction: CH4(g)+4Cl2(g)?CCl4(g)+4HCl(g) Use the following reactions and given ?H?s. C(s)+2H2(g)?CH4(g)?H=?74.6kJC(s)+2Cl2(g)?CCl4(g)?H=?95.7kJH2(g)+Cl2(g)?2HCl(g)?H=?184.6kJ Express...
    asked 52 minutes ago
  • ASCII (American Standard Code for Information Interchange) has an encoding for every character of the alphabet,...
    asked 1 hour ago
  • Is home confinement with electronic monitoring a deterrent? Are there negatives to being confined to one’s...
    asked 1 hour ago
  • Social hostility can have severe lasting effects of interperpersonal relationship during our adolescence years, which if...
    asked 1 hour ago
  • - A series RLC circuit has R=15 ?, L=1.5 H, and C=15 ?F. (a) For what...
    asked 1 hour ago
  • TV Circuit has 30 large-screen televisions in a warehouse in Erie and 60 large-screen televisions in...
    asked 1 hour ago