Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The language is Java. //Please explain the process and variables and why they were used. I will upvote. I really want to understand. Implement a

The language is Java.

//Please explain the process and variables and why they were used. I will upvote. I really want to understand.

Implement a 3-dimensional array to store grades.

Each row will represent the grades of each of 4 (4, not 3, not 5) students and there will be 3 grades for each student (one for IST 110, 210, and 220 each), one for each of 2 tests;

Each class grade is wholly determined by the two tests weighted equally (hence a 4x3x2 array of doubles).

Write a driver that initializes the array.

Then determine (to 2 digits after the decimal point):

1) each students class average in each class (where each test is ranked equally)

2) each tests average,

3) the class average for each class

4) each students ETM average (ranking 110 at .25, and each of 210 and 220 at .375),

5) the average ETM grade for all students.

Do NOT prompt the user for this data; initialize the array in the main routine. Only one .java file is to be submitted. If you use the grades shown here, then the answers you should get are also shown here:

image text in transcribed

Data S1 S2 S3 S4 110 (-25) T1 T2 90 85 75 82 86 92 83 90 210 (375) T1 T2 74 86 88 91 84 82 92 88 220 (375) T1 T2 96 86 88 87 92 94 74 91 Test Average 83.50 87.25 84.50 86.75 89.25 87.75 Student Avgs S1 S2 S3 S4 110 87.50 78.50 89.00 86.50 210 80.00 89.50 83.00 90.00 220 ETM Average 94.00 87.13 90.00 86.94 81.00 83.75 89.00 88.75 Class Average 85.38 85.63 88.50 86.64

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database In Depth Relational Theory For Practitioners

Authors: C.J. Date

1st Edition

0596100124, 978-0596100124

More Books

Students also viewed these Databases questions