(Due before class on April 18, 2007) LAB 7a – Arrays – Gradebook

[Post the solution in WebCT by 9:00 a.m. Wednesday April 18, 2007.]

YOU MUST DO YOUR OWN WORK!!!

Your task is to write UML class diagrams for a program that manages the grade book for CPSC 1301.

Design and write a Java application that reads student information from a comma-separated values text file – grades.csv (see pg. 246-249). Each student record contains a student name (e.g. Jimi Hendrix), a 9-digit student ID (909123456), midterm and final exam scores (integer 0-100), seven assignment scores (integer 0-50), and fourteen quiz scores (integer 0-20). The different fields in the student record are separated by a comma (,) in the data file. For each student, compute the student’s total points and average (two decimal place), weighted total and average after dropping the lowest assignment and lowest quiz score.

Grades are determined using the following scale:

5 points = all components of each class diagram for each class are correctly defined including the class name, all instance variables with their types, and all methods including constructors with their parameters and return type where appropriate.
4 points = a few components may be incorrect
3 points = several components may be incorrect or missing
2 points = most components are incorrectly described and/or at least one class diagram is missing
1 point = only a few components for a class diagram are described