Skip to content

Commit

Permalink
hzuapps#4 hzuapps#5 hzuapps#465 实验四五类建模
Browse files Browse the repository at this point in the history
  • Loading branch information
zyf2020 committed Mar 22, 2020
1 parent 91f7510 commit 6f6d393
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 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_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_class03.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 6f6d393

Please sign in to comment.