Question: Create a shell script that accepts a .csv file as an input containing the student's first name, last name, student ID, and a score (example

 Create a shell script that accepts a .csv file as an

Create a shell script that accepts a .csv file as an input containing the student's first name, last name, student ID, and a score (example out of 100). Refer to the York University grading scale, and calculate the grade for each student based on their score. Output the grade scored to the same file that contained input. The grade obtained will be stored as the 5th column in the file. Please note that all the borderline cases should be highlighted in the output file. For example, if a score> =90 gets an ' A+ ', then a borderline case will be a score of 90 . Similarly, if 90> score >=80 gets an 'A', then a borderline case will be a score of 80

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To create a shell script that accepts a csv file as input and calculates grades based on the York Un... View full answer

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!