Ask Java Expert


Home >> Java

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.

Java, Programming

  • Category:- Java
  • Reference No.:- M91379856
  • Price:- $50

Guranteed 36 Hours Delivery, In Price:- $50

Have any Question?


Related Questions in Java

Chatbotscreate a small networked chat application that is

Chatbots Create a small, networked chat application that is populated by bots. Introduction On an old server park, filled with applications from the early days of the internet, a few servers still run one of the earliest ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

Assignment game prototypeoverviewfor this assessment task

Assignment: Game Prototype Overview For this assessment task you are expected to construct a prototype level/area as a "proof of concept" for the game that you have designed in Assignment 1. The prototype should function ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

In relation to javaa what is constructor the purpose of

(In relation to Java) A. What is constructor? the purpose of default constructor? B. How do you get a copy of the object but not the reference of the object? C. What are static variables and instance variables? D. Compar ...

Project descriptionwrite a java program to traverse a

Project Description: Write a java program to traverse a directory structure (DirWalker.java) of csv files that contain csv files with customer info. A simple sample in provided in with the sample code but you MUST will r ...

Fundamentals of operating systems and java

Fundamentals of Operating Systems and Java Programming Purpose of the assessment (with ULO Mapping) This assignment assesses the following Unit Learning Outcomes; students should be able to demonstrate their achievements ...

Assessment -java program using array of Assessment -JAVA Program using array of objects

Assessment -JAVA Program using array of objects Objectives This assessment item relates to the course learning outcomes as stated in the Unit Profile. Details For this assignment, you are required to develop a Windowed G ...

Applied software engineering assignment 1 -learning

Applied Software Engineering Assignment 1 - Learning outcomes - 1. Understand the notion of software engineering and why it is important. 2. Analyse the risk factors associated with phases of the software development lif ...

Retail price calculatorwrite a java program that asks the

Retail Price Calculator Write a JAVA program that asks the user to enter an item's wholesale cost and its markup percentage. It should then display the item's retail price. For example: (If an item's wholesale cost is 5. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As