The marks obtained by pupils of class are grouped as shown below; 0 – 4,…