Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

image text in transcribed

image text in transcribed

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

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

Beginning VB 2008 Databases

Authors: Vidya Vrat Agarwal, James Huddleston

1st Edition

1590599470, 978-1590599471

More Books

Students also viewed these Databases questions

Question

Determine miller indices of plane A Z a/2 X a/2 a/2 Y

Answered: 1 week ago