Suppose a class has 5 students. The test grades in this class are:…