Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task 1 ( 4 0 points ) Generate a report containing the lowest, highest and average score for each assignment in the data file. The
Task 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 Your report should be in a tabular format as shown in the sample below;
Name Low High Average
Q
L
WS
Q
L
L
H
H
H
H
H
H
Q
H
Q
L
Q
L
Q
L
FINAL
Q
L
Your solution must generate the report using the data file given Labdata.csv Download Labdata.csv No points will be awarded for solutions that copypaste the above sample data and use awk to print it to the console. Provide the command used to run your script against the lab data file along with your completed awk script.
Task 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 grade
B grade
C grade
D grade
E grade
The following sample output has been provided as a guide. Your solution must be based on the data in the Labdata.csv Download Labdata.csvfile. No points will be awarded to solutions that are based on copypasting the sample output and printing it with awk.
Name Percent Letter
Andrew C
Chelsey A
Shane C
Ava C
Sam D
Submit your completed script and the awk command needed to run it
Task points
Select either Task or Task 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 or student name Task 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started