Exam Registration System (UML State Machine Diagram)
The state machine diagram depicts the states of student registration to an exam in a university information system. The diagram includes a complex state for Choice - it consists of subject and date choice. If the student logs off from the system and logs in again, they will continue from the same state (step). The History state (circle with an H letter) saves the last state before logging off, and then it restores this state after logging on.
When there is a full capacity, the registration process cannot proceed to the Enrolled state. In the Enrolled state, the student can cancel their enrollment. When they present at the exam, the process proceeds to the In progress state. After finishing the exam, the current state switches to the Completed.
The state machine diagram contains the following states:
- Choice (Composite State)
- Subject Choice
- Date Choice
- History State (H)
- Logged Off
- In Progress