Question: Exercise 1 Course Registration The system starts in initialization state. It stays in it until it gets a Registration Period Started trigger. Then it sets
Exercise Course Registration The system starts in initialization state. It stays in it until it gets a "Registration Period Started" trigger. Then it sets the count of students to zero and transition to the Registration Open state. Whenentering that state, we register the student. It keeps adding students, until the count reaches the maximum. When the system receives a "Registration Period closed" trigger, it will move to the RegistrationClosed state, provided that the number of student registrations exceeds the minimum requirement.However, if the number of registered students is below the minimum requirement, the system willtransition to the Course Cancelled state and send a notification to the students. The Registration Closed state will finalized the course then transitions to the final state. No matter where the system is if it gets the Course Cancelled trigger, it notifies the students andtransitions to the final state.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
