Question: Consider the following two classes Student Student Number Student Name Cumulative GPA Course Taken and Grades Course Course Number Course Name Number of Credits Let's
Consider the following two classes
| Student |
| Student Number Student Name Cumulative GPA Course Taken and Grades |
| Course |
| Course Number Course Name Number of Credits |
Let's define a method for computing Cumulative GPA for students. GPA is calculated by summing the product of the grades for each course and the courses' credits, then dividing that product by the total number of course credits. Based on this,
- identify the method(s) you will have in either or both classes to compute the cumulative GPA of a student. You may note/enter the methods in the class diagrams above.
- briefly, using a single sentence, state the function of each method you have defined.
- If the two classes above evolve into separate tables, note any possible additional tables, fields as attributes, suggest primary and foreign keys for those attributes, and describe relationship cardinality. Show your work in the diagrams above.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
