Question: Task 1 ( 4 0 points ) Generate a report containing the lowest, highest and average score for each assignment in the data file. The

Task 1(40 points)
Generate a report containing the lowest, highest and average score for each assignment in the data file. The name of the assignment is located in column 3. Your report should be in a tabular format as shown in the sample below;
Name Low High Average
Q06779586.80
L05409646.60
WS 555
Q075810078.80
L06609961
L07778664.80
H01199047.80
H02479574.60
H03709582.20
H04468065
H05549576.60
H06589780.60
Q012510074.80
H07529067
Q028410091.60
L01419175
Q033310066.80
L02010061.40
Q045510081
L038810095.80
FINAL 589985.60
Q05549976.80
L044810079.20
Your solution must generate the report using the data file given (Lab03-data.csv Download Lab03-data.csv). No points will be awarded for solutions that copy-paste the above sample data and use awk to print it to the console. Provide the command used to run your script against the lab03 data file along with your completed awk script.
Task 2(50 points)
Calculate the weighted grade for each student that appears in the data file. You may calculate the grade based on total earned points, divided by total possible points.
Output a list of students, their grade as a percentage and a letter grade. For simplicity; use this letter grade scale;
A =90>= grade <=100
B =80>= grade <90
C =70>= grade <80
D =60>= grade <70
E = grade <60
The following sample output has been provided as a guide. Your solution must be based on the data in the Lab03-data.csv Download Lab03-data.csvfile. No points will be awarded to solutions that are based on copy-pasting the sample output and printing it with awk.
Name Percent Letter
Andrew 75.21 C
Chelsey 92.21 A
Shane 77.64 C
Ava 79.76 C
Sam 62.34 D
Submit your completed script and the awk command needed to run it.
Task 3(10 points)
Select either Task 1 or Task 2 and write a Bash shell script that takes a file name as an argument. The Bash shell script then uses that file name to run your awk script and sort the results alphabetically, either by assignment name (Task 1) or student name (Task 2). Remember to account for the headers in these outputs. Please don't forget to do this part, and make sure you use a Bash script!

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!