View Full Version : Grading Input Program Help

11-02-2012, 01:08 AM
1. Teachers assign various graded activities for their students to complete. A graded activity can be given be given a numeric score such as 70, 85, 90 and so on, and a letter grade such as A,B, C, D, or F.

Based on the UML below, create the following files:

This is the driver program that the user will interact with. Use showInputDialog and showMessage

The GradedActivity class represents the general characteristics of a student's graded activity. Many different types of graded activities exist, however, such as quizzes, midterm exams, final exams, lab reports, essays, and so on. Because the numeric scores might be determined differently for each of these graded activities, we can create subclasses to handle each one.

The FinalExam class represents a specific type of graded activity. It will take number of questions on the exam and number of questions missed. It will calculate the points for each question and the numeric score for this exam. All exams are based on 100 points.

Old Pedant
11-02-2012, 03:00 AM
Read this:

Read especially rule 1.5.

Now read this:

**IF** you make a REAL attempt to do the work and show us your code, and if all it needs is a minor fix or two, then you WILL get help.

And, finally, this is the JavaSCRIPT forum.

You question as about JAVA.

The two languages have the first 4 letters of their name in common and some minor syntax in common (and in common with C and C++, by the by). But that's about it.

Try posting in the JAVA forum next time. But only AFTER you have done, say, at least 80% of the work.

Old Pedant
11-02-2012, 03:01 AM
Oh, and by the way: How are *WE* supposed to see " the UML below" on which, as it says, all the code is based?