The table above shows the scores of a group of 40 students in a physics…