Project #2
Due Date: Start of lecture, Tuesday, Sept. 21, 2004
The objective of this first project is to do a simple software
development
project, as described in the online document Systematic
Software Development. Everything you need is in this
document,
Before proceeding to the body of the project, it is essential that
you
do the following, just for practice:.
- read the above document
- copy and compile the CoinCollection program that
appears in
the
document
- run the CoinCollection test plan using turnin
- copy, compile, and run the MetricConversion program that you'll
find in the programs53 directory. Examine this program and use it to
give you ideas for your solution to this project.
Problem Specification:
Background: Several years ago, eleven Western European
countries (France,
Germany,
Holland, Belgium,
etc.) started to use a single currency, the Euro. The exchange rate
between Euros and
dollars varies from day to day.
Problem: You're planning a summer trip to Europe and plan to
rent a
car. Europe is on the metric system, so fuel is
priced
in Euros per liter. Since you don't have a good feel for this pricing,
you'd
like to know the fuel price in dollars per gallon. Since you'll be
traveling
with a laptop computer, you decide to develop a program that will help
you in
your travels. Given the daily Euro exchange rate, the number of liters
you're buying,
and the price in Euros per liter, this program will tell you the number
of
gallons you're buying, the price in dollars per gallon, and the total
dollar
price.
You'll
need to find out the actual liters-to-gallon conversion, and the daily
Euro rate
on
the day you run the program. The Web is a good resource for this. Be
sure to cite the sources
you use to find out this information!
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 neatly hand
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, and showing no errors or warnings;
- 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 bonus:
This extra credit bonus 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. 19, 2004, 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.
E-mail the file as you did the survey form, e.g., pine mfeldman
<project1.txt
MBF 9/12/04