Write a Python program that will compute the grade of N students. The program should

meet the following requirements:

a. The scores of Quizzes are random numbers generated by the computer(range : 1 – 100)

b. Formula : Final Grade, FG = (Q1+Q2+Q3+Q4)/4

c. Determine the highest score, lowest score and average score in every quiz

d. Determine the equivalent grade(EQ), use the table below.

FG EQ Remark

Below 60 5.0 Fail

60 to below 75 3.0 Fair

75 to below 90 2.0 Good

90 to 100 1.0 Very Good

e. Display the data in table form.

Sample output:

Student # Quiz1 Quiz2 Quiz3 Quiz4 Grade EQ

1 80 80 80 80 80 2.0

…

…

20 70 70 70 70 70 3.0

Highest 80 80 80 80 80

Lowest 70 70 70 70 70

Average – -- – — ---

f. Program should execute for as long as the user wants to continue.

g. Maximum data size(N) is 50. Validate N.

h. Plot a line graph showing the class average in every quiz. Use color cyan for the line

graph.

i. Plot a pie chart showing the number of students who passed and the number of

students who failed. Show the percentage value per slice. Explode the graph. Use blue

color for passed and black color for failed.

j. Plot a bar chart showing the number of students who got 5.0, 3.0, 2.0, and 1.0. Use

black color to represent 5.0, yellow for 3.0, red for 2.0, and blue for 1.0.

k. Label properly your graphs.

l. Construct at least 4 user-defined functions and use it in the program. Do not use Global

variables.