COSC 3353 Assignment 5
Purpose: To allow each student to demonstrate that they can solve a user problem in C# that uses directories, files, and XML.
Due: Before class on April 1 (late assignments will not be accepted)
1. My wife and I went on a cruise to Europe last Summer where we visited several countries on the Baltic sea. One of those countries was Estonia, where we visited the capital Tallin, which includes a beautiful medieval city center. I took lots of pictures, but my camera does not record the latitude and longitude of where the picture was taken. The camera does stamp each file with the date and time that the picture was taken. I was also carrying a GPS that did record a time stamped record of latitude/longitude in an XML file.
Your task is to associate each picture with its latitude and longitude based upon the times. Some notes:
The program you are to write must meet these criteria:
All output should be to the console.
All programs must be properly documented. The program should include extensive comments.
For the code review, I will post additional files that were taken in the same city to allow you to test the students programs using different data.
Bonus Points. 15 additional points will be awarded if you use linear interpolation to find the location based upon the two nearest times. Other bonus points may be awarded for creative displays or additional effort.
Lab Report. Prepare a lab report that contains the following information:
Submission: You will be submitting this lab via email. Attach all of the files to your email. This package will then be forwarded to other students so they can do a code review. For your submission, only include the source code and the documentation file. Do not include any of the data files or executable files.
Questions: All questions on the problem, data files, or presentation must be asked in class or by email. The instructor will reply to questions via email with a copy to all class members. This is to allow all student to know the same information. If you send an email and I do not reply within 24 hours, please call or come see me.
Grading Criteria: The primary grading criteria for the exam is the quality of your program design, the use of the C# language features, and correctly solving the problem.