Redesign the grading program as an object-oriented design

Assignment Help JAVA Programming
Reference no: EM13168589

redesign the grading program as an object-oriented design. We will start with a simple Student class. The student will have a name, an id (as a String) and a set of grades (as doubles).
The Student class should include:
* a constructor (which takes a name and id as strings),
* getters and setters for the name and id,
* addGrade method : void
  *which takes a double,
*printGrades method : void
*which prints the name, a colon, and the grades separated by commas,
* getAdjustedAverage method : double
* computes the average, dropping the lowest score
*getLetterGrade method : char
* compute the letter grade based on the adjusted average and a straight scale
* toString() method : String
* prints the "():"                  

Reference no: EM13168589

Questions Cloud

Accept two 1-digit numbers (from 0 to 9) from the keyboard : Write an assembly language program that will accept two 1-digit numbers (from 0 to 9) from the keyboard, compare the two numbers, and then print out th enumber of greatest value
You were tasked to handle the urgent delivery : You were tasked to handle the urgent delivery of 10TB of data from your company in Washington, D.C to a subsidiary in San Francisco, CA (2,815 miles away).
Give me a list of all the proposed prices : Give me a list of all the proposed prices for the next year from the l_foods table.  Sort your results by proposed_price.  (Note that proposed price, is price + price_increase.)
Determine the number of grams of sodium acetate : Determine the number of grams of sodium acetate and the amounts in mLs of 6.00M acetic acid that you would need to make 50.00mL of a sodium acetate/acetic acid buffer solution at the pH equal to 5.00 in order to make a final concentration of 0.05M..
Redesign the grading program as an object-oriented design : redesign the grading program as an object-oriented design. We will start with a simple Student class. The student will have a name, an id (as a String) and a set of grades (as doubles)
Forest point construction at forest point construction : Forest Point Construction At Forest Point Construction, your boss says that he can estimate the total project time based on his personal experience. You are trying to convince him that he should use project management techniques to handle a comple..
Write a test program that obtains from the user : Write a test program that obtains from the user the items to store in two sets A and B, and displays the union A u B, the inter- section A n B, and the dierence A \ B. The data type of the items is your choice. ( you can only store objects.)
Prior to the adoption of sql as a standard : Prior to the adoption of SQL as a standard by the American National Standards Institute (ANSI), each database management system (DBMS) had its own unique command language and syntax. SQL was adopted as an ANSI standard in 1986. The International S..
Development of sacred music in medieval christianity : Which name or term is best associated with the development of sacred  music in medieval Christianity?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Java program that prompts the user to input an integer

Write a Java program that prompts the user to input an integer and then outputs both the individual digits of the number and the sum of the digits.

  Java program simulate a network

Java program simulate a network

  Prompts the user for three first names

Write an application that prompts the user for three first names and concatenates them in every possible two-name combination so that new parents can easily compare them to find the most pleasing baby name. Save the file as BabyNameComparison.java

  Describe how an eavesdropped can gain access

Describe how an eavesdropped can gain access to the remote server with a relatively modest number of guesses ( Hint:  The eavesdropped starts guessing after the original user has typed all but one character of the password.

  Create a class named blooddata

Create a class named BloodData that includes fields that hold a blood type (the four blood types are O, A, B, and AB) and an Rh factor

  Program to translates a number into the closest letter grade

Write a program that translates a number into the closest letter grade. For example, the number 2.8 (which might have been the average of several grades) would be converted to B-. Break ties in favor of the better grade

  User session mgr - socket and thread programs

User Session Mgr - Socket and Thread Programs

  Mean and standard deviation using using eclipse

Java programming to calculate Mean and standard deviation using Using Eclipse.

  Write a program displaying a text file that is in a text are

Write a program displaying a text file that is in a text area. The user enteres a file name in a text field and clicks the view button; the file is then displayed in the text area. Do not use BufferedInputStream.

  What is overloading and what is overriding

What is overloading and what is overriding? Wrtie JAVA code code to explain it.

  Tracer for java

Implementation of a tracer of Java objects and the tracer can be invoked from any point of a Java program, accepting an object as argument.

  Write a class encapsulating a pc-based game

Write a class encapsulating a PC-based game, which inherits from Game. A PC-bases game has the following additional attributes: the minimum megabytes of RAM needed to play the fame, the number of megabytes needed on the hard drive to install the fame..

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