Create a class called grades with the given fields

Assignment Help JAVA Programming
Reference no: EM131267399

ASSIGNMENT 7

A teacher has 6 students who have taken 3 tests. The teacher uses the following grading scale to assign a letter grade to a student, based on the average of his or her 3 test scores.

TestScoreRange Letter Grade

90-100 A
80-89 B
70-79 C
60-69 D
0-59 F

Create a class called Grades (java file called Grades.java) with the (exact) following fields and methods (these names and caps exactly):

Filed/Method Description
Names
LetterGrades
Test1Scores
Test2Scores
Test3Scores
EnterData
GetNames
GetName
GetTestScores
GetTestScore
GetAverageScore
GetLetterGrades
GetLetterGrade

An array if strings or ArrayList object to hold the 6 students' names
Aan array of six characters to hold the six students' letter grades
An array of doubles to hold each student's Test 1 scores
An array of doubles to hold each student's Test 2 scores
An array of doubles to hold each student's Test 3 scores

Allow the user to enter (in the console) the 6 students' name, test 1 score, test 2 score, ands test 3 scores. The code should validate the score (only between 0 and 100) and ask again for the wrong values until the correct value is entered.

Returns the student names (one student per line)
Returns a student's name, student number given as an argument
Returns a student's test scores, student number given as an argument
Returns a student's test score, student number given as an argument, targeted test given as the second argument
Returns a student's test score average (for the 3 tests), student number given as an argument
Returns a student's letter grades
Returns a student's letter grades, student number given as an argument

GetClassAverage Returns the class average: the average of the 6 students' test score average.

Reference no: EM131267399

Questions Cloud

Determine the ergodic capacity of this channel : Determine the ergodic capacity of the channel when perfect state information is available at both sides.
Algorithm for finding a placement of guards : Design an O(n)-time algorithm for finding a placement of guards that uses the minimum number of guards to protect all the paintings.
Understanding of descriptive and prescriptive arguments : Based on your understanding of descriptive and prescriptive arguments, respond to the following: Identify a topic of interest for which arguments of different perspectives can be created
Approach for an organization to control security : Take a position on the ethical concerns raised by employees who are upset about organizations monitoring their email or Internet access for security purposes. Assess whether you believe it is fair for an employee to undergo this type of surveillan..
Create a class called grades with the given fields : Create a class called Grades (java file called Grades.java) with the (exact) following fields and methods (these names and caps exactly):
Key parts of the singleton pattern : Write a Java program (non-GUI preferred) to demonstrate the Singleton pattern. The key parts of the singleton pattern are:
Identify legal and ethical constraints on pricing decisions : Identify the legal and ethical constraints on pricing decisions. - Government regulation helps monitor five major areas of pricing.
Compare and contrast the data communication technologies : Compare and contrast the data communication technologies of guided media and unguided media. This should include transmission media, data link control protocols, and multiplexing.
Write code to get the values at pricetextbox : Write code to clear the content of dealerPayLabel and bankPayLabel within the given space in ClearPayments sub procedure. Write code to get the values at priceTextBox, rebateTextBox to the variables price, rebate respectively.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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