Java Final Project

profilebeehawk5
IMH_FinalProject1.docx

CSC-2591 Final Project Part 1

Name: Isabella Hawkins

CSC-2591

COMPLETE THE HONOR CODE BELOW

'----------------------------------------------------------------------------------

' HONOR CODE:

' I pledge that this program represents my own program code, I have received

‘ help from no one and I have given help to no one.

'-----------------------------------------------------------------------------------

Project Instructions

Failure to follow these instructions will result in a significant grade reduction.

Please see Project Description for naming requirements.

The deliverables that are to be uploaded to the assignment are:

1) This completed document with your solutions in it. Do not remove any part of this document. (PLEASE DO NOT INCLUDE THIS DOCUMENT IN THE ZIPPED FILE). This document must be completed using Microsoft Word 2003 or newer edition of Microsoft Word. A PDF file that is compatible with myLearning may also be optionally submitted. In any case, the submitted file must open in myLearning for grading. If the file does not open in myLearning I will have nothing to grade and the result will be a zero for the assignment.

2) All Java source code in a zipped file. Please name this zip file XXX_ FinalProjectPt1 where XXX are your initials.

Precisely follow the instructions in the video “Instructions for the Submission of Homework Assignments” and watch any additional videos in the modules that may help you complete the assignment.

Any problem that is not done will receive a grade of zero. Please see the grading rubric for this assignment; individual problem point values are shown there.

Follow all applicable CSC-2591 Java Programming Standards for this assignment.

Include Header comments on all programs submitted. See Below:

/**

//***********************************************************************

'Project: Assignment #

'Programmer: FULL NAME

'Company Info: EMAIL

'Date: DD MM YYYY

'Description: Problem Number #.

'

' LINE 1 AT LEAST 3 LINES OF PROGRAM DESCRIPTION

' LINE 2 AT LEAST 3 LINES OF PROGRAM DESCRIPTION

' LINE 3 AT LEAST 3 LINES OF PROGRAM DESCRIPTION

'

' --------------------------------------------------------------------------

' HONOR CODE:

' I pledge that this program represents my own program code, I have received

' help from no one and I have given help to no one.

'

' OR

'

' I received help from NAME OR NO ONE in designing and debugging my program.

' I given help to NAME OR NO ONE in designing and debugging my program.

'-----------------------------------------------------------------------------

'

' LINE LENGTH - AVOID LINES LONGER THAN 80 CHARACTERS

' SCALE BELOW IS TO CALIBRATE SCREENSHOTS

' DO NOT HAVE YOUR CODE OR SCREENSHOT EXTEND BEYOND THE SCALE

0........1.........2.........3.........4.........5.........6.........7.........8

12345678901234567890123456789012345678901234567890123456789012345678901234567890

*/

PLACE SCREEN SHOT OF PROGRAM CODE and CONSOLE OUTPUT HERE.

Please note that I made the screen shot using the windows snipping tool, had the appropriate comments in the program, had the program number as it was in the assignment. In addition, all code from the program is visible and legible with line numbers. In the screen shot of the console output the date and time must be shown and highlighted. If you are not familiar with the windows snipping tool video please watch it now.

Follow all applicable CSC-2591 Java Programming Standards for this assignment.

Be sure to

Have the correct Javadoc comments as required in the programming standards.

This you tube video is excellent and describes exactly how and why to use JAVADOC COMMENTS.

Play Now

THIS IS WHAT IS EXPECTED FROM THE SCREEN SHOT:

If you are using JOptionPane Show Screen shots of all messages and I/O for all cases, for example:

Project Description

You will create a separate class for each class. Make sure the class has all fields specified with the appropriate data types. Your classes constructors, setters, and getters must be implemented as specified below.

Classes

1) Student Class (Student.java) – represents a single student.

a) The fields for student row:

i) Student id

ii) First Name

iii) Last Name

iv) Major

v) Grades – this is an array list of int scores

b) Methods

i) 3 constructors

(1) A no-arg constructor

(2) A constructor that takes:

(a) Student id

(b) First Name

(c) Last Name

(3) A constructor that takes:

(a) Student id

(b) First Name

(c) Last Name

(d) Major

(e) Grades

ii) Getters and Setters for Student id, first name, last name, and major

iii) A method that returns the student’s first and last name with a space between them

iv) A method that returns the student’s average score

v) A method that returns the student’s grade based on their average score.

(1) The grade will be based on the following:

(a) 90 to 100 is an A

(b) 80 to 89 is a B

(c) 70 to 79 is a C

(d) 60 to 69 is a D

(e) 0 to 59 is an F

vi) A method that returns the student’s information (toString()) the output should look like:

Student ID: ####

Name: First Last

Major: XXXXX

Scores: XX, XX, XX, XX, XX

Average Score: XXXX

Grade: X

2) Main Program (XXXMainProgram.java where XXX is your initials.) – this program will be used to test that your Student class works as specified.

i) Write a program that asks the user to enter the student information using JOptionPane. The program will ask the user to enter

(1) the student id

(2) the first and last name

(3) the student’s major

(4) the student’s grades – these will be a comma separated list of scores

ii) Create a Student object with the information the user entered.

iii) Verify with the user the right information was given by using JOptionPane to output the new student object.

Rubric

This is a pretty elaborate project and thus should be started early. Below is the points/rubric that will be used for this project:

60 points for a correct implementation of the Student.java file

30 points for successfully creating the Main Program.

10 points for commenting your code appropriately. This includes using javadocs for methods and classes appropriately.