CS 1713 Introduction to Computer Science, Spring 2012 Project 2 Comments
This project was graded on a basis of 20 points.
Part 1: 1 point
Part 2: 4 points
Part 3: 5 points
Part 4: 5 points
Part 5: 1 point
Part 6: 3 points
Part 7: 1 point
Of the 27 students who turned in the project, 9 were successful in producing an output file that was close to correct.
- The number before your name is your seat number.
The grade is in the lower right corner of the paper.
- I wrote comments on your papers. If you do not understand them, see me. I used the following abreiviations:
- TP: TemperaturePrediction class
- DT: DailyTemperature class
- TPL: TemperaturePredictionList class
- DTL: DailyTemperatureList class
- The simplest way to handle the restriction of not using StringTokenizer is to write your own.
- Do not have the main method throw an exception. This is not handling errors, it is ignoring them.
- The method createFrameDescriptor should be in TemperaturePrediction, not TemperaturePredictionList.
- Part 2 needs to be tested before you go on to the other parts.
- If you test TemparaturePrediction with values generated by a random number generator, it is difficult
to tell if the output is correct.
You can find a sample source code for a solution below.
TemperatureMain.java.
TemperaturePrediction.java.
TemperaturePredictionList.java.
DailyTemperature.java.
DailyTemperatureList.java.
TemperatureHighsAndLows.java.
MonthAndDay.java.
TemperatureConstants.java.
MyStringTokenizer.java.