Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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