how do i draw a graph to represent a class of students and all their marks are out of 100

Have the vertical axis (ordinate) represent frequency and the horizontal axis (abscissa) represent score values.

Find the range of marks, arrange score values from low on left to high on right. Depending on the number of students, your might want to group the values into intervals.

I hope this helps.