Project #2
Due Date: Start of lecture, Thursday, Sept. 19, 2002
The objective here is to do a second simple software development project,
as described in the online document Systematic
Software Development.
Problem Specification:
Students in American secondary schools and universities are quite familiar
with the Grade Point Average (GPA). In this project you will calculate
the semester GPA for a student who is taking exactly five courses. For
each of the five courses, the user will input a pair of values: the number
of credit hours (integer, range 1-4) and a "quality point (QP)" value (floating
point, 0.0 - 4.0). The program will then compute the GPA and display it
to the nearest hundredth of a point.
The GPA is a weighted average: the sum of five values (QP x credits),
divided by the total number of credits.
Just to guide you, GW uses the following QP values, and so should you:
A=4.0, A-=3.7, B+=3.3, B=3.0, B-=2.7, C+=2.3, C=2.0, C-=1.7, D+=1.3, D=1.0,
D-=0.7, F=0.0. Do not worry about reading or displaying letter grades;
this list is just to remind you of the QP values.
NOTE: This program is obviously quite limited in its capability. You'll
improve it in a later project, once your experience grows a bit.
What to submit:
You must follow the process given in Systematic
Software Development. Submit
-
a copy of this page as a problem specification
-
a paper document (from a word processor or neatlyhand written) that
presents the analysis, design, and test plan for your project
-
a printout of the listing (.lis) file for your program in its
final stage
-
a printout of a turnin file of your test runs, showing that you tested
the program according to the test plan
You are not required to submit a printed framework file, but see
below.
Your grade will be calculated on a 20-point basis, as follows:
-
6 points -- analysis and design (including algorithm in structured English)
-
4 points -- test plan
-
6 points -- correct execution of program according to test plan
-
4 points -- layout and style of program source code
Extra credit:
This extra credit is to provide an incentive for starting your project
early in the week.If you e-mail your "framework" listing file to Prof.
Feldman, and the time stamp on the e-mail is no later than 5 PM, Sunday,
Sept. 15, 2002, you will be awarded 2 extra project points. The "framework"
must be a listing (.lis) file, with no compilation errors, that
contains the declared variables, and a set of comments inserted for the
main algorithm steps.
MBF 9/12/02