whooter
11-02-2012, 12:08 AM
Problem
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:
GradePgm.java
This is the driver program that the user will interact with. Use showInputDialog and showMessage
GradedActivity.java
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.
FinalExam.java
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.
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:
GradePgm.java
This is the driver program that the user will interact with. Use showInputDialog and showMessage
GradedActivity.java
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.
FinalExam.java
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.