Question: Based on the information given above please answer the questions above. Subject: OOP no need to write the code you are only required to answer

 Based on the information given above please answer the questions above.

Subject: OOP no need to write the code you are only required

to answer the questions given for this UML diagram Kuala Lumpur Tutorial

Based on the information given above please answer the questions above.

Subject: OOP

no need to write the code you are only required to answer the questions given for this UML diagram

Kuala Lumpur Tutorial Consider the following UML Class diagram: GradedActivity This class holds a grade for a graded activity - score : double + setScore (3: double): void + getScore(): double + getGrade(): char Pass FailActivity - minpassingScore : double This class holds numeric score and determines whether the score is passing or failing + Pass FailActivity (mp3: double) + getGrade(): char Pass FailExam This class determines a passing or failing grade for an exam - numQuestions : int - pointsEach : double > Comparable - numMissed : int + equals (g: GradedActivity) + Pass FailExam (questions: int, missed: int, minpassing: double) + getPointsEach(): double + getNumMissed(): int + calculatePoints(): void :boolean Kuala Lumpur Tutorial Details for each class: The GradedActivity class: o getGrade () method is to return a letter grade based on the following scores: Letter grade Score A >= 90 B >= 80 >= 70 >= 60 A 1 F = minimum passing score F If score is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!