Question: Task 0 2 ( 1 0 points ) Write an awk script that will accept the following input file and output data in the following

Task 02(10 points)
Write an awk script that will accept the following input file and output data in the following format. Check the example output carefully, we expect your output to match it EXACTLY.
\table[[Input file (lab_d_01.csv),Example output],[Name,Final Grade,Course,George is taking IFT250.],[George,A,IFT250,Gus is taking IFT383.],[Gus,C,IFT383,Samuel is taking IFT383.],[Samuel,A,IFT383,Eric is taking IFT250.],[Eric,A,IFT250,Sara is taking IFT488.],[Sara,E,IFT488,Catalina is taking IFT488.],[Catalina,A,IFT488,Fred is taking IFT383.],[Fred,D,IFT383,]] Task 03(10 points)
Write an awk script that will accept the following input file and output the names of the students with a grade of A. Check the example output carefully, we expect your output to match it EXACTLY.
\table[[Input file (lab_d_01.csv),Example output],[Name,Final Grade,Course,These are the students who have an A:],[George,A,IFT250,George],[Gus,C,IFT383,Samuel],[Samuel,A,IFT383,Eric],[Eric,A,IFT250,Catalina],[Sara,E,IFT488,],[Catalina,A,IFT488,],[Fred,D,IFT383,]] Task 04(10 points)
Write an awk script that will accept the following input file and output each possible final grade (A-E) followed by a comma and then the number of students who have that exact final grade. Check the example output carefully, we expect your output to match it EXACTLY.
\table[[Input file (lab_d_01.csv),Expected output of script],[Name,Final Grade,Course,A,4],[George,A,IFT250,B,0],[Gus,C,IFT383,C,1],[Samuel,A,IFT383,D,1],[Eric,A,IFT250,E,1],[Sara,E,IFT488,],[Catalina,A,IFT488,],[Fred,D,IFT383,]]Task 05(10 points)
Write an awk script that will take the following input file and process each record based on the keyword in the last field. You will start with 0 and then either add or subtract the numbers from it. Check the example output carefully, we expect your output to match it EXACTLY.
\table[[Input file (lab_d_05.csv),Example output],[1,3,5,8,10,11,54, ADD,92],[1,2,3,4, SUB,-10],[15,18,21,42,37, ADD,133],[1,1,1,0,0,3,16, ADD,22],[4,1,8,0,4,6,13,16,17,20,8,6,4, ADD,107],[13,8, SUB,-21]]Task 01(10 points)
Write an awk script that will accept the following input file and output the name and final grade fields. Check the example output carefully, we expect your output to match it EXACTLY.
\table[[Input file (lab_d_01.csv),Example output],[Name,Final Grade,Course,Name Final Grade],[George,A,IFT250,George A],[Gus,C,IFT383,Gus C],[Samuel,A,IFT383,Samuel A],[Eric,A,IFT250,Eric A],[Sara,E,IFT488,Sara E],[Catalina,A,IFT488,Catalina A],[Fred,D,IFT383,Fred D]]
 Task 02(10 points) Write an awk script that will accept the

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!