Exercise 3 - Museum (2)
1.2 Design the corresponding state machine. Do not use local variables at first (the state should be used to memorize the current number of people and all necessary information). Use both “State Charts” notation (bubbles), and “State/Event Table” notation. Describe the advantages and drawback of each notation.
1.3 Does your state machine take non-nominal cases into account? What if a “LOCK” motor fails? What if a bad transmission loses signal “ENTRY”. Extend your model to cover these cases.
2.1 Extend the model to handle 1 room and 500 people (use a local variable)
2.2 Extend the model to control all 5 turnstiles at the same time (reuse the previous process as much as possible)