Computers and Technology

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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 14:40, davidb1113
You begin your first day of responsibilities by examining the recent is security breach at gearup to get ideas for safeguards you will take. at gearup, criminals accessed the company's improperly-secured wireless system and stole customers' credit card information as well as employee social security numbers. what kind of computer crime did gearup face?
Answers: 3
image
Computers and Technology, 22.06.2019 21:30, GamerGirl15
This graph compares the total cost of attending educational institutions in texas. the graph demonstrates that the cost at private and public technical schools greatly varies.
Answers: 2
image
Computers and Technology, 22.06.2019 22:30, kierafisher05
What is the most popular genre of video games?
Answers: 1
image
Computers and Technology, 23.06.2019 14:30, ladawnrowles005
The option enables you to modify a slide element in most presentation applications.
Answers: 2
Do you know the correct answer?
Your assignment is to write a class averaging program that outputs a summary of classes and students...

Questions in other subjects:

Konu
Social Studies, 01.04.2020 05:37