Question: Consider the dataset in Table 3, where all the values in columns 2 to 6 are between 0 and 100. Studentin CA1 grade CA2 grade

Consider the dataset in Table 3, where all the values in columns 2 to 6 are between 0 and 100. Studentin CA1 grade CA2 grade Lab grade Final grade GPA Si Labi Finali GPA, : : : : : : CAli CA21 Table 3: Student grades For each of the following, write a Pig script that 1. Calculates the average GPA of the students whose average CA grade is lower than their lab grade. 2. Calculates the average final grade without considering the students who had the highest and the lowest lab grades. For example, if students with IDs id18 and id27 had the lowest lab grade because they didn't submit their work, their final grade should not be considered in this calculation. 3. Sorts the students based on the difference of their final grade to their GPA
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
