Answered step by step
Verified Expert Solution
Link Copied!

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 4(5 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 CMPT270. 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 get/set 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
1 mark : for classes
1 mark : for attributes
1 mark : for methods
2 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 3 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions

Question

Compose the six common types of social business messages.

Answered: 1 week ago

Question

Describe positive and neutral messages.

Answered: 1 week ago