The table above gives the marks scored by a group of students in a test…