Project #3
Due Date: Start of lecture, Wednesday, Feb. 16, 2005
The objective here is to do a second simple software development
project,
as described in the online document Systematic
Software Development.
Problem Specification:
In this course, I keep grade records "by the numbers", then, at the end
of the semester, I calculate a weighted
sum of the numbers to produce a final semester score for each
student, on a scale of 0-100.
In
this project, you'll develop and test a program that will prompt the
user for the factors in one student's weighted sum, then compute that
sum.
For purposes of this project, the factors are:
labs -- total attendance 0-12 scale, counts 12%
midterm #1 -- score 0-62, counts 13%
midterm #2 -- score 0-66, counts 13%
final exam -- score 0-105, counts 27%
projects -- score 0-140 (total of 7 projects), counts 35%
total 100%
We can calculate the contribution of a given factor as follows:
contribution = percent * (factor/maximumFactor)
For example, suppose a student got 49/62 on midterm #1. This factor's
contribution is 13 * (49/62), or 10.27 points out of 100. If the
student got a project total of 115/140, the projects contribute 35 *
(115/140) or 28.75 points. The student's weighted sum is the sum of
all 5 contributions. Do the calculations with double variables, to keep the
fractional parts; display the result to two decimal places.
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 (.txt) file for your program
in its
"framework" first stage, with variables declared and comments inserted
for the main algorithm steps, and showing no errors or warnings
a printout of the listing (.txt) 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
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,
Saturday, Feb. 12, you will be awarded 2 extra project points. The
"framework"
must be a listing (.txt) file, with no compilation errors,
that
contains the declared variables, and a set of comments inserted for the
main algorithm steps.