Question: 5. Create a UML state machine diagram to represent a fan that works the way: From the off state, if the button is pressed, the
5. Create a UML state machine diagram to represent a fan that works the way:
From the off state, if the button is pressed, the fan will the strong ventilating state;
From the strong ventilating state, if the button is pressed, the fan goes to the medium ventilating state;
From the medium ventilating state, if the button is pressed, the fan goes to the weak ventilating state;
From the weak fan state, if the button is pressed, the fan goes to the off state.
6. Using UML State Machine Diagram model a hot/cold air conditioner.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
