Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 4 ( 5 points ) : The objective of this question is to practice object oriented design and creating UML class diagrams in a
Question points:
The objective of this question is to practice object oriented design and creating UML class diagrams in a problem you are familiar with.
Your Tasks
In the previous question, you wrote a procedural program to calculate your final grade for CMPT For this question, you will take that procedural program and restructure its design into an object oriented system. For this assignment you will be creating a UML class diagram showing your design. In the next assignment, you will be actually building this system.
Start with your solution to the previous question. Currently, the program is written in a proce dural way; all of the variables and functionality is written in a single method in a single class. Go through your code and identify a reasonable way of grouping your data into classes.
Next, identify the methods for each class that are needed to getset the data.
Finally, determine the interactions between the classes in your system. Which objects are con tained by other classes? Which classes need to talk to another class? Is there an inheritance
structure it is not required, but you may use inheritance if it makes sense
Create a UML class diagram showing the outcome of the previous three steps. You only need to submit the diagram, the previous steps are used to help structure the process of creating the
class diagram.
Evaluation
mark : for classes
mark : for attributes
mark : for methods
marks : structure correct arrows between classes, correct formatting of classes
Provided Files
There are no files provided by instructor for this question, but you will be using your solution to Question to inform your process.
Files to Submit
Your submission should include a file called gradeCalculator.pdf with your finished class diagram.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started