Develop an Object-Oriented program that can be used to calculate a student’s grade based on weighted averages.
$10-30 USD
着払い
Implementation Requirements:
Your project will contain two classes: Student and Proj7 (the application class). Student
Create a class called Student that contains (at a minimum) the following 7 private data properties – full student name and student’s total score on labs, projects, exams, codelab, and on final exam (all doubles) and the student’s overall % score (double).
1
User will enter in the current points possible for each category, but store the weight % as private constants (15%, 15%, 30%, 10%, 30%, respectively)
Include the following constructors/methods within the Student class (your class can contain more methods but must contain at least these methods)
1. A default no-argument constructor to initialize a Student object to the following default values: name = "no name entered" / all numeric values explicitly to zero.
2. A six-argument constructor to initialize a Student object to values passed-in for name, and student’s total score on labs, projects, exams, codelab, and final exam.
(Note: Both constructors might not be used for project, but are still required in the Student class)
3. A method that ONLY calculates the weighted overall % for the student and stores in the proper
data property for a student object. Do not read in input or write output within this method.
4. A toString method that can be used to display the name of the student, their weighted overall % (one number after the decimal), and their final grade (based on the following grading scale). Method must be declared using the following method signature: public String toString()
(Do not read in input or write output within this method)
90 or above A 80 or above B 70 or above C Above 60 D 60andbelow F
Sample Output of the toString method... Student Name: Bob Jones
Overall %: 79.2% Final Grade: C
Proj7 (Application Class)
Create a separate class called Proj7 that contains ONLY a main method (used to test your Student class). Within main, allow the user to enter information for as many students as they desire (up to 20). YOU decide how to end the input. Once information has been read in for all desired students, display the name, overall %, and final grade for each student, pausing the output for each student until ‘enter’ is pressed (see next page).
ROUGH pseudocode might look like the following (you do NOT have to structure yours like this!) -Instantiate an object that can be used to hold an array of student objects.
-Read in the values for the current possible points for each category. You might want to use an object to hold these values but aren’t required to. Calculate adjusted points for each category.
do
{ -Read in student’s name and total score on labs, projects, exams, codelab, and final exam
-Create and store object in the array
-Calculate the weighted overall % for the student -Enter Another?
} while (your condition);
2
-Loop through and use the toString method to display the output for each student
Sample Output ...
Student Name: Bob Jones
Overall %: 79.2%
Final Grade: C
Press enter to display next student...
Student Name: Bill Smith Overall %: 81.3%
Final Grade: B
Press enter to display next student...
...etc.
All students displayed...
プロジェクトID: #5104986
プロジェクトについて
アワード:
Hi, I have strong background in JAVA and Object Oriented Programming concepts. Let me help you. I am ready to start ASAP.
10人のフリーランサーが、平均$31 で、この仕事に入札しています。
Hello, I am Java expert and can surely help you with this project, I will provided completed codes within 24 hours and will be available on skype while working on the project. Thank You
Hi! I can code this up for you. I went through the description and it's hardly a 2 hour job. Thank You!
Hi, I am an expert Java programmer and I understand the project. My OOP/OOD experience and knowledge will be very helpful successfully completing this project. Let me do this. Thank you.
Hey man, let me do this for you. I can easily complete this and submit it to you in one day, you can review and incase of any problem, I ll refix it. :)
Hello, I'm a Senior Java developer and I have a strong professional skills in Java on different projects. Let me help you with what you need. Regards
Hi, I have 5 years of experience in java. i am working as a software engineer. I can provide you the solution within 2 days.