Question
****PLEASE ANSWER TASK 2 and 3***** Task 2 Calculate the grade for each student that appears in the data file. You may calculate the grade
****PLEASE ANSWER TASK 2 and 3*****
Task 2
Calculate the 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. Or, for 10 points extra credit; Use the weighted totals for this course; available in the syllabus and on the course home page.
Output a list of students, their grade as a percentage and a letter grade. For simplicity; use this letter grade scale;
- A = 90 >= grade
- B = 80 >= grade
- C = 70 >= grade
- D = 60 >= grade
- E = grade
The following sample output has been provided as a guide.
Your solution must generate the report using the data below.
Task 3
Select Task 2 and write a shell script that takes a data file name as an argument. The shell script then uses that file name to run your Perl script and sort the results alphabetically, by student name (Task 2). Remember to account for the headers in these outputs.
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