Java Grade Program

Completed Posted Oct 29, 2012 Paid on delivery
Completed Paid on delivery

Provide a complete program that handles the entry and display of homework scores. As part of your program, provide a RWHwScore class that contains the points earned on a particular homework and also the maximum possible points on that homework. In order to keep track of the overall average, the RWHwScore class also contains the total points earned on all homework combined and the total possible points on all homework combined. In order to determine letter grades, the RWHwScore class specifies cutoff values for the A, B, C, and D letter grades.

More specifically, the RWHwScore class should contain these constants and variables:

Array constant for the letter grade cutoffs: A = 0.9, B = 0.8, C = 0.7, D = 0.6

One dimensional array, only needs to hold the values, not the letters.

Class variables named totalEarnedPoints and totalPossiblePoints

Instance variables named earnedPoints and possiblePoints

[url removed, login to view]

Provide a main driver method. It should:

Instantiate a 4 element array of RWHwScore and store the values below in this array. In the instantiations, initialize the objects to these values:

hw1: 26.5 earned points, 30 possible points

hw2: 29 earned points, 27.5 possible points

hw3: 0 earned points, 20 possible points

hw4: 16 earned points, 20 possible points

For hw1, hw2, hw3 and hw4 call printGrade. (instance method)

Call printOverallGrade. (class method)

Within your RWHwScore class, include these requirements:

The RWHwScore class should contain a two-parameter constructor that handles initializations for the earnedPoints and possiblePoints instance variables.

Implement a printGrade method that prints a particular homework’s earned points, possible points, and letter grade. The letter grade is based on this scale: A ³ 90%, B ³ 80%, C ³ 70%, D ³ 60%, F < 60%.

Implement a class method named printOverallGrade that prints the overall earned points, overall possible points, and overall letter grade.

Use appropriate modifiers for methods. The modifiers we’ve discussed so far are private, public, and static. Use helping methods when appropriate.

SAMPLE:

On this homework, you earned 26.5 out of 30.0 possible points: B

On this homework, you earned 29.0 out of 27.5 possible points: A

On this homework, you earned 0.0 out of 20.0 possible points: F

On this homework, you earned 16.0 out of 20.0 possible points: B

On all homework, you earned 71.5 out of 97.5 possible points: C

FOLLOW SAMPLE PRECISELY FOR OUTPUT.

Java PHP Software Architecture

Project ID: #2605667

About the project

26 proposals Remote project Active Oct 30, 2012

Awarded to:

it2051229

Hi, I'd like to do this project please.

$30 USD in 0 days
(188 Reviews)
6.2

26 freelancers are bidding on average $46 for this job

eperfections

JAVA EXPERT! Can do this in 30 minutes

$30 USD in 0 days
(351 Reviews)
7.3
dobreiiita

Hi, I am JAVA Expert and can surely help you here, Please check your inbox, Thanks

$30 USD in 1 day
(174 Reviews)
6.4
samitXI

Please check your inbox. Thanks

$30 USD in 1 day
(90 Reviews)
6.3
buzzcoder

Simple project, I can do it for you for sure, please check your pm.

$35 USD in 1 day
(40 Reviews)
5.4
csanuragjain

hi i can do this contact if interested

$30 USD in 1 day
(22 Reviews)
5.1
msabouri

I can easily do this

$30 USD in 1 day
(51 Reviews)
5.0
pivn

let expert do it

$30 USD in 1 day
(47 Reviews)
4.8
ranjitsinha

Ready to do this program. Thanks.

$30 USD in 0 days
(92 Reviews)
4.8
swteam4

Hello Java experts here, we can complete this task in an hour. Kindly check PMB.

$30 USD in 0 days
(18 Reviews)
4.4
kdeveloper5

Hi, I am oracle certified java 6 professional with 100% score , i have over 8 years of experience in developing applications using java, I can do this task in 2-6 hours. looking forward to hear from you regards,

$40 USD in 1 day
(4 Reviews)
4.2
duchuyctlk

Let expert do it

$30 USD in 0 days
(24 Reviews)
3.9
tientaiTA

Let expert do it! Please check PMB!

$30 USD in 1 day
(15 Reviews)
3.8
proauthor

Hi, Ready to start your work. Eagerly awaiting for your positive reply. Please check your inbox for further details. Thanks, Shaik.

$99 USD in 1 day
(5 Reviews)
3.4
joshjava

Sounds like fun.

$40 USD in 0 days
(5 Reviews)
3.1
JavaGuruLV

Hi, I am Java developer and teacher. Want help you with this assignment. Best regards, Viktor.

$30 USD in 1 day
(4 Reviews)
2.8
marcelof01

Hello, I'm a developer. I can build a system that meets your needs. I'm not a sub-contractor, so you will get accurate deadline dates and low fees from me. I work with responsibility and my work is guaranteed, provid More

$30 USD in 0 days
(5 Reviews)
2.2
fihgu

I'm ready to start. please check your PM.

$30 USD in 0 days
(1 Review)
1.7
forestcitysoft

I would be interested in completing this project. Thanks

$30 USD in 2 days
(2 Reviews)
1.6
MarkDLeBlanc

I've already completed this for you, just awaiting acceptance, and payment. :)

$30 USD in 0 days
(0 Reviews)
0.0
quyentran

I'm willing to help you now. :D

$30 USD in 1 day
(0 Reviews)
0.0