首页 > > 详细

CSCI3130辅导、讲解UML留学生、Python,c++,Java程序语言讲解调试Matlab程序|解析C/C++编程

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.

联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!