联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> C/C++编程C/C++编程

日期:2020-03-27 10:35

CSCI3130 – Assignment 4 – UML Robert Hawkey

UML

Winter 2020

Due: Friday, March 20, 23:59 (Midnight)

Instructions

You will want to pull the latest version of the course lecture samples repo:

https://git.cs.dal.ca/rhawkey/csci3130

If you have already cloned that repo, you must pull the latest changes. Open git's command

line and type the following:

git checkout master

git pull

You will need something to create UML diagrams. I recommend this free tool:

https://online.visual-paradigm.com/

When you get signed up for the tool's free account you can click "VP Online Diagrams", then

scroll down and find the one that says "Class Diagram". This will let you pull over standard UML

shapes.

No matter what tool you use to create your diagrams you must ensure that your UML is

correct. For this course we will state that the UML described in the lecture slides, and in the

UML Examples document on Brightspace.

You will be asked to create class diagrams that represent a given set of code. Your diagrams

must reflect:

? The classes in the code:

o Their methods

o Their member variables

? Associations between classes:

o Inheritance

o Aggregation

o Composition

o Relationship (Uses, implements, creates, etc.)

? Pay special attention to:

o Font styles (e.g., abstract class is bold italic)

o Arrow styles / shapes

o Line styles

o Diamond styles

o - / + / # qualifiers

Questions

1. (10 marks) Create a class diagram for the code in this lecture samples repo folder:

/lectures/SOLID/SingleResponsibilityPrinciple/Good

2. (10 marks) Create a class diagram for the code in this lecture samples repo folder:

/lectures/SOLID/OpenClosed/Final

3. (10 marks) Create a class diagram for the code in this lecture samples repo folder:

/lectures/SOLID/LiskovSubstitutionPrinciple/Good

4. (10 marks) Create a class diagram for the code in this lecture samples repo folder:

/lectures/SOLID/InterfaceSegregationPrinciple/Good

5. (10 marks) Create a class diagram for the code in this lecture samples repo folder:

/lectures/SOLID/DependencyInversionPrinciple/Good

Submission

Submit your class diagrams in a single PDF file, clearly indicate which question your diagrams

belong to.


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp