Skip to content

Commit

Permalink
Merge pull request #1660 from zyf2020/master
Browse files Browse the repository at this point in the history
#4 #5 #465 实验四五类建模
  • Loading branch information
zengsn authored Mar 25, 2020
2 parents ce51c46 + 5376ed4 commit 84046bb
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 2 deletions.
Binary file added students/1714080902530/Lab45_class01.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/1714080902530/Lab45_class01.jpg.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/1714080902530/Lab45_class02.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/1714080902530/Lab45_class02.jpg.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/1714080902530/Lab45_class03.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions students/1714080902530/lab2.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
后置条件 | | *可选*
基本流程 | 1.老师点击【新增题目】按钮 |*用例执行成功的步骤*
~| 2.系统显示输入题目信息画面 |
~| 3.老师输入题目信息 |
~| 3.老师输入题目信息,包括问题,正确答案码错误答案 |
~| 4.老师点击"保存"按钮 |
~| 5. 系统检查题目信息是否完整填写 |
~| 6. 系统检查题目信息是否合法 |
Expand All @@ -59,7 +59,8 @@
后置条件 | | *可选*
基本流程 | 1.老师选择题目点击【删除题目】按钮 |*用例执行成功的步骤*
~| 2.系统检查该题目是否存在 |
~| 3.系统提示【删除成功】 |
~| 3.系统删除题目信息,包括问题,正确答案,错误答案 |
~| 4.系统提示【删除成功】 |
扩展流程 | 2.1系统检查题目不存在,提示【删除失败】 |*用例执行失败*

## 表3:答题用例规约
Expand Down
39 changes: 39 additions & 0 deletions students/1714080902530/lab45.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# 实验四类建模
# 实验五高级类建模

## 1.实验目标
- 了解类建模方法
- 了解MVC模式
- 掌握类图的画法
- 理解类的5种关系
- 掌握类之间的画法


## 2.实验内容
- 个人选题:#465我爱做题网
- 选取用例:增加题目,删除题目,答题
- 根据选取用例和用例规约画出3个类图


## 3.课堂笔记
- 类是对现实事物的某些具体特征抽象而来的抽象事物,对象是对类的实体化,如动物是一个类,而猫是动物类的对象
- MVC模式是一种软件设计典范,用把业务逻辑,数据,界面显示分离的方法组织代码
- 类建模之间有5种关系,最弱的是依赖,如MVC,其次是类似依赖的包含关系,再次是一个类中包含另一个类,再次是内部类,最强的关系是继承


## 4.实验步骤
- 找出实验二的用例建模的基本流程和扩展流程
- 根据用来规约确定类
- 确定业务服务类的设计逻辑
- UML作图


## 5.实验结果
![类图1](./Lab45_class01.jpg)
图1:类图1增加题目

![类图2](./Lab45_class02.jpg)
图2:类图2删除题目

![类图3](./Lab45_class03.jpg)
图3:类图3答题

0 comments on commit 84046bb

Please sign in to comment.