Project 1 - Program Description
Word Count
Logistics
Prepare a Java program that counts the
words in a file. The program
should satisfy at least the following requirements:
- You may write the program on any machine for which you have Java
tools.
But the program will be tested on the College of Computing tampere
machine using the version of Java in /usr//bin on tampere
- All code required to execute the program that is not part of the
distribution
on tampere must be turned in
in source format. Your program
must compile using the javac
command without any options being
specified.
- Your program should be an application not an applet.
That
is, it must execute from the command line using the java
command and not from a web browser.
- Your program and all deliverables should be submitted via
t-square.
It is your job to elicit the actual
program requirements from me or the class TA. You should do this by
arranging a meeting.
Process
You should constuct your program
by using a modified form of the Waterfall process presented in class
and in the readings. It is your team's job to specify the exact form by
defining appropriate process activities. You must include activities
responsible for producing at least the
following
deliverables:
- Requirements specification
- Design description
- Acceptance test plan
- User documentation (man page)
- Code
In addition, you should provide a Process Plan
Document and a Process Assessment Document.
Measurements
During the course of development you
should measure the following items and include them in your process
assessment document.
- Time spent in units of hours
- Number of lines of source code:
Blank or empty lines do not count; comments do count
- Number of acceptance test cases
- Number of defects detected. A defect is a source-code flaw that
results in an execution failure
Teams
Team members for this project can be
found here.
Sample Input
You can test your programs using the following sample input file.