The marks obtained by 9 students in a class test are recorded below: 9, 8,…