Problem Set 4: Quarterback Rating

Web-CAT: Submit Java programs to this automated grading platform.

Task Outline

Background Theory


a = (1.0*comps/attempts - 0.3) * 5
b = (1.0*yards/attempts - 3) * 0.25
c = 20.0 * tdowns/attempts
d = 2.375 - (25.0 * picks/attempts)
rating = ((a + b + c + d) / 6.0) * 100

Code Distribution

Description File Size File Name
Java Source Code for Quarterback Rating 5.2KB pset04.zip

Contents of pset04.zip:

PSet04QuarterbackRating/
├── package.bluej
├── QuarterbackRating.class
├── QuarterbackRating.ctxt
├── QuarterbackRating.java
├── QuarterbackRatingJUnitTest.class
├── QuarterbackRatingJUnitTest.ctxt
├── QuarterbackRatingJUnitTest.java
└── README.TXT

Specification

Testing

Submission