如何表明用例已经结束?

dev*_*ium 2 oop uml use-case

假设我正在Use Case填写测验.你只有5分钟的时间来完成测验.在进行Use Case"填写测验"时,我应该如何发出时间限制信号,之后Use Case结束了?我只是用文字写的,还是有更正式的用法?

我的用例可以是草图:

 1. The Actor tells the System he's ready to start the quiz.
 2. The System presents the Actor with the first question of the Quiz and its 4 possible answers and tells him how much time he has left.
 3. The Actor tells the System what is his chosen answer (a number between 1 and 4).

Repeat steps 2-3 until there are no questions left.

 4. The System registers the results of the quiz.
Run Code Online (Sandbox Code Playgroud)

我可以在上面显示的所有内容之间进行操作,以便在剩下的时间结束时进行检查,但是可能有更好的方法来显示它.

谢谢

小智 6

您可以使用替代的流超时情况,例如

Alternative Flow 1: Timeout
2. The System detects that ... 
Run Code Online (Sandbox Code Playgroud)