In: Computer Science
Draw state diagrams of the control software for:
■ An automatic washing machine that has different programs for
different types of
clothes
Here. I have given state diagram for the washing clothes as they different types.
Explanation:
The following process are carried out through the several steps as they shown
• Initialize the user will select an option to choose the type of
clothes,
• Then filling water.
• Switch on heating water,
• Finally the machine begins to wash.
Such the following diagram shown below as
OR
State diagram
The diagram which is used to show the connection between different activities of the system is known as state diagram. The user interaction for performing different activities is defined in this diagram.
By using state diagram, the interface of any system design can be represented in a better manner. The different functions of the system are outlined by it.
The state diagram for a washing machine is as given below:
Explanation:
• Initially, washing machine is in its idle state.
• In the next step, users select the option as per his/her requirements.
• Now, fill the water in washing machine.
• After that washing machine starts water heating.
• Than the machine start washing clothes.
• After washing the clothes machine spin drying the clothes.
• When finish the spin state, drying machine goes back to the idle stage.
• When the users opens the machines door during filling water, heating water, washing and spin drying than it goes back to its idle stage.
i hope it helps..
If you have any doubts please comment and please don't dislike.
PLEASE GIVE ME A LIKE. ITS VERY IMPORTANT FOR ME