Question: Write the PSEUDOCODE/ALGORITHM for an Essay class that extends the GradedActivity class presented in this chapter. The Essay class should determine the grade a student

Write the PSEUDOCODE/ALGORITHM for an Essay class that extends the GradedActivity class presented in this chapter. The Essay class should determine the grade a student receives for an essay. The students essay score can be up to 100 and is determined in the following manner:

Grammar: up to 30 points

Spelling: up to 20 points

Correct length: up to 20 points

Content: up to 30 points

Once you have designed the class, design a program that prompts the user to enter the number of points that a student has earned for grammar, spelling, length, and content. Create an Essay object and store this data in the object. Use the objects methods to get the students overall score and grade, and display this data on the screen.

GradedActivity

- score: Real

+ setScore(s:Real)

+ getScore():Real

+ getGrade():String

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!