Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

****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.

image text in transcribed

Your solution must generate the report using the data below.

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Information Quality Dimensions, Principles And Techniques

Authors: Carlo Batini, Monica Scannapieco

1st Edition

3319241060, 9783319241067

More Books

Students also viewed these Databases questions