Collection of scores (type int) for the last exam i

Assignment Help JAVA Programming
Reference no: EM13168163

After being given a collection of scores (type int) for the last exam in your computer course, you are to computer the average of the scores and assign grades (O, S, U i.e. Outstanding, Satisfactory, Unsatisfactory)) to each student according to the following rules:

 

Outstanding: if the score is more than 10% above the average

Satisfactory: if the score is 10% within (above or below) the average

Unsatisfactory: if the score is more than 10% below the average

 

Read the following data from a file and then use them to test your program:

 

55 98 89 62 78 69 91 83 99 52

 

The output from the program should consist of a labeled two-column list that shows each score and its corresponding grade. Send the output to a file. You will need methods to read the data, to write the student data, to computer the mean score, and to assign a letter grade based on the exam score and the mean score. Use at least two difference classes to design the program, such as a Driver class and an AssignScore class.

 

 

Reference no: EM13168163

Questions Cloud

Dubbing was coined as a term of copying : Dubbing was coined as a term of copying media in the 1980's for all mediums. What term was a major issue during the process of continously dubbing media? Digitization cured this issue.
Write a java program that uses the elapsed time : Write a Java program that uses the elapsed time for an event in second and then outputs the elapsed time in hours, minutes and seconds. (For example, if the desired time is 9630 seconds, then the output is 2: 40: 30)
Matching program that takes input from a text file : need to make a string matching program that takes input from a text file and outputs that match (if there is one) asked from the user. i have done this part , the only problem is that , with the output match , i also need to print some words before a..
Called cbankaccount : Create a base class, called CBankAccount, and two additional classes (each derived from CBankAccount), called CSavingsAccount and CCheckingAccount.
Collection of scores (type int) for the last exam i : After being given a collection of scores (type int) for the last exam in your computer course, you are to computer the average of the scores and assign grades (O, S, U i.e. Outstanding, Satisfactory, Unsatisfactory)) to each student according to the ..
Prompt the user for 3 sentences of text : Prompt the user for 3 sentences of text. Pass these pieces of text into a function connect() which will connect all three sentences into one long sentence. Pass the combination sentence back to the main program, where it is printed.
Generate a set of 75 random integers in the range -26 to + 4 : Write a program that will generate a set of 75 random integers in the range -26 to + 42. The program
A priority encoder has 2^n inputs : A priority encoder has 2^n inputs. It produces an N-bit binary output indiciating the most significant bit of the input that is TRUE, or 0 if none of the inputs are TRUE
Design a modified priority encoder : Design a modified priority encoder that receives an 8-bit input, A7:0, and produces two 3-bit outputsm Y2:0 and Z 2:0 Y indicates the most significant bit of the input that is TRUE

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write a program called word guessing game.

Write a program called Word Guessing Game. Open the file FourLetterWords.txt and write the contents into an array of Strings (the file has 87 words in it).

  Write a method in java that uses a switch statement

Write a method in JAVA that uses a switch statement and takes a person's age using an integer parameter , then checks if the age is valid (0-110), and then RETURNS a string based on the age

  Java program to print strings given at command line

Write down program Average.java to print strings which it is given at command line, one per line. If nothing is given at command line, then print "No arguments".

  Elements from a html document

Function test Count List Elements should simply retrieve an array of all list elements on the page and assert that their total count is 3.

  Explain java-oriented microprocessors presented by sun

Research the latest Java-oriented microprocessors presented by Sun. In what ways are they optimized to implement Java programs?

  Distance traveled modification

Distance Traveled Modification

  Implementation of memory management

Implementation of memory management

  Java program which handles events from different sources

how to setup a program to respond to events from any one of these sources. How do you create the necessary listener class? How do you associate the listener object with the event source?

  Write a program using an array that will store

Using java programing : Write a program using an array that will store input data. Prompt the user for and read 6 numbers between 70 and 90. Verify the numbers should be greater than 70 and less than 90. If the number is less than

  Utilizes a good design process

Analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements as well as at least one function call and the use of at least one array.

  Java application to display multiple choice questions

Write down the application which displays series of TEN(10) multiple choice questions: questions must cover all the Java. Each question must have four possible answers and only one answer must be correct.

  Program to find maximum-minimum of sequence of values

Common task which should be done in loop is to find maximum and minimum of sequence of values. File Temps.java contains program which reads in sequence of hourly temperature readings over 24- hour period.

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