Loading...

State Diagram for Digital Watch UML


UML Question in Exams:-
Q.

Consider a simple digital watch which has a display and two buttons to set it, the A button and the B button. The watch has two modes of operation, display time mode, the watch displays hours and minutes, separated by a flashing colon. 

The set time mode has two submodes: set hours and set minutes. The A button selects modes. Each time it is pressed, the mode advances in sequence: display, set hours, set minutes, display etc. 

Within the submodes, the B button advances the hours or minutes once each time it is pressed. Buttons must be released before they can generate another event. 

Draw the state transition diagram for above described digital watch.


State Transition Diagram for Digital Watch:-

State Transition Diagram for Digital Watch
Reactions: 
Uml Case Studies 2292474015213324518
Home item

Follow by Email

Popular Posts

Random Posts

Free PAKISTAN Cursors at www.totallyfreecursors.com