Exercise 5
Points 1
Before you start to do your weekly exercise, please make sure that you already go through this week’s lecture slides and tutorial document (can be found in Modules).
What are the exercises?
Please find the VehicleApplication codebase (VehicleApplication.zip) in Module 5 on canvas. In this weekly exercise, you are going to finish the following tasks based on this codebase.
What are you expected to do?
Task1: Model this codebase in a UML class diagram
Task2: Refactor this codebase by using the Factory Method pattern Task3: Model the codebase after refactoring in a UML class diagram What are you expected to submit?
You need to submit one pdf file, including two UML class diagrams, and a report in which you should then identify 1 major positive effect and 1 major negative effect of your refactoring (remember as always here we define positive and negative in terms of maintainability, extensibility, readability, SOLID, GRASP, etc).
Note there is no need to submit code.
You can submit your solution any time before the due. Please note that, late submission will not be acceptable. 1 mark is awarded to you only if
You apply Factory Method Pattern correctly AND You complete ALL questions.
Criteria
Ratings
Pts
Description of criterion
1.0 pts Full Marks
A solid attempt at all required questions has been made and applying requested design pattern(s) correctly.
0.5 pts Half Marks
An attempt at some required questions has been made, or there are major flaws in the answer
0.0 pts No Marks
A poor or minimal attempt has been made
Total Points: 1.0
1.0 pts