

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Class: Intermediate Java Programming; Subject: Computer Programming; University: Florida International University; Term: Spring 2007;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Due on May 17th^ 2007 in Class. (This document is 2 pages long)
A customer (instructor) wants a programmer (student) to write a program that allows entering the names and exams grades for students in the class, compute the average of each student’s exams grades and the corresponding letter grade, and finally display in alphabetical order the students’ names along with the grades, computed averages and letter grades.
You need to present two solutions to this problem:
a) The first solution takes into account the use of an array to store the students’ information. You need to define:
The main method of the class that will mark the beginning of the program should have the following sequence:
b) The second solution is the same as in a), except that instead of an array of Grade objects, you have to use an instance of the class ArrayList , available in java.util package, to store the students’ information (the field that stores the grades for each student may still be a regular array; nevertheless, you can also use another instance of the generic class ArrayList to store those grades).
1. A report containing the following: a. A front page showing your name, the course details, and the homework number. b. A section with the following contract:
“ I ________________ (write down your name), certify that this work is the sole result of my own effort, and I understand the consequences of engaging in academic misconduct as defined in the university academic policies. ”
c. A brief section describing the solution to the problem: especially what classes were defined and what/how methods were implemented. You need to provide the algorithm of any interesting method you’ve created (the algorithm needs to be in pseudocode). d. A small help section explaining how to run the program. e. A JavaDoc section of your code.
2. A zipped file containing the source code (the project).
You have two options to give the report and the zipped file to me: a. Send them by email. To make sure I receive the email before the class starts, send it the night before and double check with me next day. Or either, b. Bring a diskette or CD to hand in at the beginning of the class on the due date. You can also print the report.
Sample inputs as well as expected output will be posted on the website.
Report – 25%
Code – 75% (Special attention will be paid to comments in the code.)