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

  Objectivesbullto exercise the analysis design and

objectivesbullto exercise the analysis design and implementation activities of software development.bullto learn

  Write a program arrayprocessing.java

Write a program ArrayProcessing.java that reads a file name from the keyboard. The file contains integers, each on a separate line. You then create a corresponding array with integers from the lines.

  Assignment on java applets and activex controls

Go online and search for information about security threats posed by Java applets and ActiveX controls. Note that most of these programs are small in size and downloaded onto computers over the Internet.

  Java program to ask user to enter favorite color

Write a Java program to ask the user to enter favorite color, a favorite food, favorite animal, and first name of a friend or relative.

  Using the following data definition classpublic class

using the following data definition classpublic class circle private int radiuspublic circleint r radius rpublic int

  Possible effect that multithreading could have

Imagine you are a graphic artist working on an animation for a movie. Describe at least one (1) possible effect that multithreading could have on your work process. Support your response with at least (1) example of the effect of multithreading

  Create a panel with borderlayout

Create a panel with BorderLayout. Add a button labeled "OK" to the south side of the panel - given the program, show the values of the array

  Implementation of memory management

Implementation of memory management

  Evaluate the total average of all the inputs

Once the user enters in the desired amount of inputs, they will then select the second button "Calculate".

  Implements both the quicksort and mergesort algorithms

Write a program that correctly implements both the Quicksort and Mergesort algorithms. The program should generate an array of 500 random numbers in the 1-100 range. The program should sort the same set of numbers and keep time stamps of how long it ..

  Write a simple program that uses the class

Write a simple program that uses the class. It should prompt the user to input a string, display it, call one or the other of the class functions to convert it, then display the converted string.

  Write java application to demonstrate the behavior

The source code is patterned after a similar example that was taken from Joyce Farrell's textbook, Java Programming.

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