Ch. 9 Lab 7 Exercise 13 Java Programming First And Last Name Project

Description

Write the class Tests. It will be saved as Tests.java. Make sure to have the following in this class:

  1. Constructor for first name, last name, five tests scores (an array), average tests score and grade.
  2. Method to calculate the average
  3. Method to calculate the letter grade
  4. Set and Get methods for the names, and tests
  5. Get Grade method
  6. Get Average method
  7. toString method

-Create another .java file to test the class.

a. Use the data file I provided.

b. Output to the screen not an output file.

c. Take a screen shot of your output.

d. Your book shows how the output should look

LAB 7: Exercise #13 on pages 636-637. Read the instructions fully on these pages.
-Write the class Tests. It will be saved as Tests.java. Make sure to have the following in
this class:
a. Constructor for first name, last name, five tests scores (an array), average tests
score and grade.
b. Method to calculate the average
c. Method to calculate the letter grade
d. Set and Get methods for the names, and tests
e. Get Grade method
f. Get Average method
g. toString method
-Create another .java file to test the class.
a. Use the data file I provided.
b. Output to the screen not an output file.
c. Take a screen shot of your output.
d. Your book shows how the output should look
a) Write the definition of the class Tests such that an object of this class can store a student’s
first name, last name, five test scores, average tests score, and grade. (Use an array to store the
test scores.) Add constructors and methods to manipulate data stored in an object. Among other
things, your class must contain methods to calculate test averages, return test averages, calculate
grades, return grades, and modify individual test scores. The method toString must return test
data (including student’s name, five test scores, average, and grade) as a string.
b) Write a program to calculate students’ average test scores and the grade. You may assume the
following input data:
Jack Johnson 85 83 77 91 76
Lisa Aniston 80 90 95 93 48
Andy Cooper 78 81 11 90 73
Ravi Gupta 92 83 30 69 87
Bonny Blair 23 45 96 38 59
Danny Clark 60 85 45 39 67
Samantha Kennedy 77 31 52 74 83
Robin Bronson 93 94 89 77 97
Sheila Sunny 79 85 28 93 82
Kiran Smith 85 72 49 75 63
Use an array of objects of the class Tests (designed in part (a)) to store each student’s data. The
program should output data as close as possible to the following form:

Purchase answer to see full
attachment

We offer the bestcustom writing paper services. We have done this question before, we can also do it for you.

Why Choose Us

  • 100% non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee

How it Works

  • Click on the “Place Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the "PAPER DETAILS" section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.