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