Student Grades Program, JAVA Programming

Assignment Help:
The program:

2 classes one called Student, one called Grades

Functional
Requirements:

Ask for how many students u need to enter the program must:
prompt the user to enter the name in the form last name, first name, i.e. Doe, John
switch the name to first name last name, i.e. John Doe
prompt the user for grades, (a program and exam grade are sufficient)
after getting the name and grades of all the students, print out on a single line for each student the name and grades
print out the class average.

Program
Specifications:

In the new implementation, the two classes, Student and Grades, are defined with the following operations/methods.
public class Student - Defines a student with a full name and a complete set of grades.

public void setup() - Sets all attributes of the student (name and grades).
private void setName() - Sets the name of the student.
private void setGrades() - Sets all the grades for the student.
public void display() - Displays the complete information on the student.
public double overallGrade() - Returns the overall grade of the student.
public class Grades - Defines a complete set of grades received by a student.

public void setup() - Sets the complete set of grades
public void display() - Displays the complete set of grades
public double average() - Returns the average of the complete set of grades (i.e., it returns a number between 0.0 and 100.0).

In either class, the setup method will initialize an object of that class. To follow our problem decomposition paradigm, the initialization of a student will consist of the initialization of his/her name and of his/her grades. For that purpose, we have introduced in the Student class two methods for these two basic actions, setName and setGrades. The setGrades method has very little to do directly, but defer to the Grades class''s setup method. The setName method, on the other hand, will prompt and initialize the full name of a student.

Related Discussions:- Student Grades Program

Difference b/w deep cloning and shallow cloning of object, The default natu...

The default nature of an object's clone() function automatically provides a shallow copy. So to need a deep copy the classes have to be edited or adjusted.   Shallow co

Unix-like CLI in Java (simple), The assignment is implementing a CLI in Jav...

The assignment is implementing a CLI in Java with several usable commands, using Threads.

Illustrate the method to print on the GUI, Illustrate the method to print o...

Illustrate the method to print on the GUI Example Code: Taking Input / Output So far, we learned how to print something on console. Now time has come to learn how to print

Java and Arrays, AskWrite an application that uses an Array to store 10mess...

AskWrite an application that uses an Array to store 10messages of type String. You will store this Array with 10 messages of your choosing. For example, a message could be “I love

Plug-in for adobe after effects, Plug-in for Adobe after Effects Project...

Plug-in for Adobe after Effects Project Description: We are seeking software engineers to create a plug-in for Adobe after Effects (CS4 and above) that allows 3D extrusions f

I want customize tumblr theme, I need Customize Tumblr theme Project Des...

I need Customize Tumblr theme Project Description: I have a blog here I would like to customize it as follows; 1) Modify the horizontal navigation from the bottom of th

Explain the term naming packages in details, Explain the term Naming Packag...

Explain the term Naming Packages in details? As you saw previously name space conflicts arise if two pieces of code declare the similar name. Java remains track of what belongs

Virtual function, What is virtual function? While derived class override...

What is virtual function? While derived class overrides the base class method by redefining the same function, after that if client wants to access redefined the method from der

Write Your Message!

Captcha
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