Skip to content

Commit

Permalink
Merge pull request #1276 from cjfgg/master
Browse files Browse the repository at this point in the history
#3 #53 实验三:过程建模
  • Loading branch information
zengsn authored Mar 18, 2020
2 parents f821fae + f905add commit fcf6624
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 13 deletions.
Binary file added students/1714080902319/ActivityDiagram1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added students/1714080902319/ActivityDiagram2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 13 additions & 13 deletions students/1714080902319/lab2.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,20 @@
| ~ | 5. 系统显示下一道题的页面 | |
| 扩展流程 | 4.1 系统检查考生所选答案为空,则提示“请选择” | 用例执行失败 |

##


## 表2:交卷用例规约

| 用例编号 | UC02 | 备注 |
| -------- | ------------------------------------------------------------ | ------------------ |
| 用例名称 | 交卷 | |
| 前置条件 | 考生已进入答题页面 | 可选 |
| 后置条件 | 系统进入分数页面 | 可选 |
| 基本流程 | 1. 考生点击提交试卷按钮 | 用例执行成功的步骤 |
| ~ | 2. 系统统计考生答案数量,保存统计结果 | |
| ~ | 3. 系统检查统计结果为50,系统提示“提交成功” | |
| ~ | 4. 系统计算考生分数 | |
| ~ | 5. 系统保存考生总分 | |
| ~ | 6. 系统显示分数页面 | |
| 扩展流程 | 3.1 系统检查统计结果不为50,系统提示“未答完50道题,提交失败” | 用例执行失败 |
| 用例编号 | UC02 | 备注 |
| -------- | ------------------------------------------------- | ------------------ |
| 用例名称 | 交卷 | |
| 前置条件 | 考生已进入答题页面 | 可选 |
| 后置条件 | 系统进入分数页面 | 可选 |
| 基本流程 | 1. 考生点击提交试卷按钮 | 用例执行成功的步骤 |
| ~ | 2. 系统统计考生答案数量,保存统计结果 | |
| ~ | 3. 系统检查已经答完全部50道题,系统提示“提交成功” | |
| ~ | 4. 系统计算考生分数 | |
| ~ | 5. 系统保存考生总分 | |
| ~ | 6. 系统显示分数页面 | |
| 扩展流程 | 3.1 系统检查未答完全部50道题,系统提示“提交失败” | 用例执行失败 |

40 changes: 40 additions & 0 deletions students/1714080902319/lab3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# 实验三:过程建模

## 一、实验目标

1. 掌握过程建模方法
2. 掌握活动图画法(Activity Diagram)

## 二、实验内容

1、创建用例图

2、编写实验报告文档

3、编写用例规约

## 三、实验步骤

1、根据用例规约在StarUML上创建活动图(ActivityDiagram1.jpg、ActivityDiagram2.jpg)

2、绘制活动图

3、导出活动图

4、撰写实验三文档

5、修改实验二文档

## 四、实验结果

![](./ActivityDiagram1.jpg)

​ 图1:答题活动图

![](./ActivityDiagram2.jpg)

​ 图2:交卷活动图

## 五、实验总结

​ 出于让活动图简洁的考虑,修改了实验二交卷用例规约的扩展流程。将系统提示从“未答完50道题,提交失败”改为“提交失败”。虽然之前的提示更加的面向用户,告诉用户是有题目没做才提交失败。但是出于让活动图简洁,缩短了提示。

0 comments on commit fcf6624

Please sign in to comment.