Creating a grade book that will use arrays

Assignment Help JAVA Programming
Reference no: EM13809901

You will be creating a grade book that will use arrays to store students and their grades. The breakdown of the project is as follows.

You must be able to add a student, remove a student, edit a student, remove all students, and exit the program.

We are going to assume that each student has 10 possible assignments with a possibility of 10 points per assignment.

You are to develop several classes for this project to use. I will provide the class names, methods required (although you can create additional ones) and a grading rubric so you can coordinate your time accordingly.

The first class that you are to create is your driver class, that is, the one with the main method, and that is all.

Class Name: MidtermDriver

Method Name: main

Parameters: String[] args

Desired Result: Should initiate your midterm project using one method call to another class.

Data Returned: None

The next class that you are to create will be where most of your work is done, and will be the bulk of your grade.

Class Name: Midterm - No constructor needed

Method Name: startProgram

Parameters: None.

Desired Result: This method should control the flow of your program, calling other methods of this class, and others as needed.

Data Returned: None.

Method Name: displayWelcomeMessage

Parameters: None.

Desired Result: Should print welcome message that explains the program briefly. Also include your name and CSC 275 Online Midterm Project

Data Returned: None.

Method Name: displayOptions

Parameters: None.

Desired Result: Print available options for program and read in an integer for their choice. Make sure that ONLY a single digit integer is entered. If something other than an integer is entered you should prompt the user to make a choice again, reinforcing the rules.

Data Returned: User choice of action to take

Method Name: addStudent

Parameters: None.

Desired Result: Prompt the user for student's name, add the student to the array list (global) then have the user add grades for the student, assume 10 assignments with 10 points possible each.

Data Returned: None.

Method Name: removeStudent

Parameters: None.

Desired Result: Prompt the user for student's name then remove the student from the array list

Data Returned: None.

Method Name: editStudent

Parameters: None.

Desired Result: Prompt the user for student's name then edit the student's information. You should prompt the user asking what they would like to edit so that they don't have to edit everything about the student. For example, here is my option menu:

Method Name: removeAllStudents

Parameters: None.

Desired Result: Remove all students from the array list.

Data Returned: None.

Method Name: listAllStudents

Parameters: None.

Desired Result: List all students in your array list and their grades. For example, my output looks like this:

Name 1 2 3 4 5 6 7 8 9 10

Ben Ritter 2.0 8.0 6.0 5.0 7.0 4.0 7.0 3.0 2.0 6.0

Joshua Smith 9.0 8.0 5.0 7.0 4.0 6.0 3.0 7.0 8.0 5.0

Data Returned: None.

The next class that you need to create will be what I call a Virtual Object. It is an object that we are creating so that we can store data in a concise and thoughtful manner. The only thing we want to do here is store data for easy access and referencing from other classes.

Class Name: Student

Default Constructor - Should do nothing

Overridden Constructor - Should create a student with a name and all 10 grades.

Reference no: EM13809901

Questions Cloud

Create a base banking account : Create a base banking account. Decide what characteristics are common for checking and saving accounts and include these characteristics in the base class
Create a jsp that displays the student name : Create a JSP that displays the student name and the current score, given the EMPLID and class ID. For each class, a text file is used to store the student name, EMPLID, and current score
What is the work done by air resistance : Find the magnitude of the force - Calculate the work done by F and What is the work done by air resistance
Write comprison paper about innate smart vs acquired effoets : Write a comprison paper about innate smart VS. acquired efforts.
Creating a grade book that will use arrays : You will be creating a grade book that will use arrays to store students and their grades. The breakdown of the project is as follows. You must be able to add a student, remove a student, edit a student, remove all students, and exit the program
Classroom behavior management strategies : Normal 0 false false false EN-US X-NONE X-NONE Classroom Behavior Managem..
Transformational change management plan : You will create an entire Transformational Change Management Plan for a medium-sized public company that has lost business to a competitor that has chosen to outsource much of its production operations.
Assignment on analyzing world cultures : Analyzing World Cultures

Reviews

Write a Review

JAVA Programming Questions & Answers

  Create a class account that represents a banking account.

Create a class Account that represents a banking account.

  Write a java statement to have the object from manage

Write a Java statement to have the object from manage its display area by dividing it into 3 rows which have 4 columns each.

  Create a console-based application named multiplication

Create a console-based application named Multiplication whose main() method asks the user to input and then calls a method named MultiplicationTable(), which displays the results of multiplying the integers by each of the number 2 through 10

  Create a file that contains your favorite movie quote

Create a file that contains your favorite movie quote. Use a text editor such as Notepad, and save the file as quote.txt. Copy the file contents,

  Create a constructor in the subclass why

Assume there is a base class with multiple constructors, if the subclass inherits from the base class, do we need to create a constructor in the subclass? Why?

  Define the determinant of a matrix

Define the determinant of a matrix a (written det(a)) recursively as follows: if a is a 1 x 1 matrix, then det(a) = x

  Examples of cultural productions from three cultures

Using specific examples of cultural productions from three cultures -Sumerians, Archaic Greeks (800-480 BCE), Classical Greeks (480-323 BCE)- explain how cultural values and ideals are reflected in the creation and style of cultural productions.

  What is the java source filename extension

What is the Java source filename extension? What is the Java bytecode filename extension and write a Java statement to display the string The value is 100 to a user in a plain dialog box.

  Write a method to save a linked list to a text file

Write a method to save a Linked List to a text file called file.txt. It must save the Linked List to the file with each node on a different line.

  Define inventory program assignment from java class

This is part 6 of the inventory program assignment from Java class IT 215 from UOP and all the codes are written well and includes everything all the functionality from the previous parts and there's absolutely no errors.

  Describe which base class members may not be inherited

Without considering the access attributes, list and describe which base class members may not be inherited by a derived class and provide a rationale for why this is.

  How to detect the correct ip address and run it locally

When you compile the two modules, with disabling the package statement, it runs on one single machine, that's running the server

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd