Question: Could you please show me how to write a program in java script that processes the data file Grades.dat and produces a report with the

Could you please show me how to write a program in java script that processes the data file Grades.dat and produces a report with the following headings:

"Grades for CIS1100

Last Name First Name ID Average

------------ ----------- ---- -----------

------------ ----------- ---- -----------

------------ ----------- ---- -----------

------------ ----------- ---- -----------

------------ ----------- ---- -----------

Class average: --------------

The final grade calculated as follows: 30% tests; 30% final exam, 20% projects, 20% labs."

name of file: Grades.dat

variables:(lastName,firstName,id,test1,test2,test3,test4,project1,project2,project3,project4,finalExam,lab1,lab2,lab3,etc.)

Note: number of labs is not the same for each student

here are the names of the students and the grades that need to be computed

Smith,Tim,1112,87,85,82,99,90,95,100,95,83,100,100,100,90,95

Thomas,Mary,1212,97,81,85,78,100,100,100,95,87,100,100,100,100,100

Herbert,Bob,1214,78,82,84,87,75,90,100,100,78,80,70,90,80,80,90,90,100,100

Adams,Terry,1125,68,88,87,92,100,80,90,100,90,90,80,85,75,80,70,100

Jenkins,Macy,1356,88,95,94,95,80,80,80,80,96,100,100,100,100,100,100,100,100

Locks,Mike,1432,78,88,89,91,90,80,90,80,75,90,90,90,90,100,100,100,95,95,95

Wilson,Bill,1142,87,85,83,93,80,90,100,90,89,85,100,100,100,90,95

Thank you.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!