0
6.2kviews
Draw state machine diagram for a Printer

Mumbai University > Computer Engineering > Sem 5 > SOOAD

Marks: 10M

Year: Dec 2014

1 Answer
0
139views

Printer

  • Printer has two states .
  • printer is either in OFF state or in ON state
  • If printer is in OFF state .we get printer from OFF state to ON state by PressON button or OnButtonPuch()
  • OnButtonPuch() is trigger name ot transition name

enter image description here

The above diagram shows that:

  • Printer has …

Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.