CS 1323 Section 30, Spring 1997

Individual Project 5
Signal Identification

Due Wednesday, March 19, 3:30pm
papers submitted after 3:30pm Mar 19 and before 4:30pm Mar 20 suffer a penalty of one-grade
papers not accepted after 4:30pm Mar 20

What to Hand In (see also: example project solution)

The Program You Must Write

Write a program that reports, for each of the years after World War I in a file rainfall.dat on the Supplied Software page of the class web site, the three years from before and during World War I whose rainfall patterns most closely resemble the rainfall pattern of that post-war year. The program should also report the degree of resemblance between each of three most similar years and the post-war year in question. That is, for each post-war year y in the dataset, the program reports the three pre-armistice years whose rainfall patterns most closely match those of the post-war year y along with the degrees of resemblance between the three most similar pre-armistice years and the post-war year y.

The program may assume that:
Each year recorded in the data file will contain records for the same set of months.
The data file will contain records for some pre-armistice years and some post-armistice years.
The standard deviation of the rainfall figures for any given month in the pre-armistice years is not zero.
However, the program should not depend on the number of years of rainfall data recorded in the data file, nor should it depend on the number of months per year recorded in the file.

Ground Rules


CS 1323 Section 30 - Fundamentals of Computer Programming - Spring 1997
Instructor: Rex Page (Email: page@ou.edu)
Up to: Welcome Page ~~~ Up to: University of Oklahoma ~~~ Go to: Next Semester ~~~ Go to: Previous Semester