subject

Your assignment is to write a class averaging program that outputs a summary of classes and students, given input data in a specific format (more on that in a bit). For a high-level view, look at the sample program execution below. Your program will read from an input file (courseData. txt) a number of data items, stored in the file in the following order:

(1) Global data is on the first line, as this applies to all classes. This first line holds the weights to use for all classes,

in this order: program weight, midterm weight, and final exam weight.

(2) Every other line in the file is specific to a class, and so the next line starts with a course identifier

(161, 162, or 263, and this is an int).

(3) After the course identifier ,a set of lines belonging to that course are listed, each with a student ID (four digits, such as 1234),

an unweighted program score, an unweighted midterm score, and an unweighted final score.

(4) Reaching a 0 indicates the end of input for a specific class ,or the end of file if all class data has been consumed.

Given this data file, your program should:

(1) Be well-documented with comments! I’ve included a number of comments in the sample code

below as examples. This is the first assignment where you’ll be graded on both correctness and code quality,

with respect comments. (Read the grading rubric for a list of everything you’ll be graded on!)

(2) Read in weights, IDs, coursenumbers ,programs scores, midterm scores, and final scores per student from

the sample input file provided (using Scanner or FileReader).

(3) :

a. Output a weighted average per student.

b. Output a Pass/Fail mark per student.

c. Output an average per class.

(4) .

(5) There should be at least one method that you write that can be used to provide output for tracing variables:

a. The method should be called test-something, e. g., testStatistics.

b. Somewhere in your program, there should be a call to that method. In the code you

submit, that call should be commented out, but I should be able to find it.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:00
What are the most likely causes of conflict at the meeting? check all that apply.
Answers: 1
question
Computers and Technology, 22.06.2019 22:00
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from it’s socket
Answers: 2
question
Computers and Technology, 23.06.2019 08:00
Michael has written an e-mail to his employees that describes a new product special that will be introduced to the customers next week. by taking time to make sure the e-mail is well written, logical, and organized, michael has made sure his message has the characteristics of a) effective communicationb) ineffective communicationc) barriers to communicationd) workplace communication
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
If you embed a word table into powerpoint, what happens when you make edits to the embedded data? a. edits made to embedded data change the data in the source file; however, edits made to the source file will not be reflected in the embedded data. b. edits made to embedded data will change the data in the source file, and edits made to the source file will be reflected in the embedded data. c. edits made to embedded data don't change the data in the source file, nor will edits made to the source file be reflected in the embedded data. d. edits made to embedded data don't change the data in the source file; however, edits made to the source file will be reflected in the embedded data.
Answers: 1
You know the right answer?
Your assignment is to write a class averaging program that outputs a summary of classes and students...
Questions
question
Chemistry, 06.01.2020 01:31
question
Mathematics, 06.01.2020 01:31
question
Mathematics, 06.01.2020 01:31
Questions on the website: 13722367