Look at the following table below.
Classinterval Classmark 0−5A5−10B10−1512.515−2017.5
The value of A & B respectively are:
2.5, 7.5
Class mark for a class interval = Upperclass limit + Lowerclass limit2
For first class upper class limit is 5 and lower is 0. Thus class mark for it is 2.5 using formula.
For 2nd class upper class limit is 10 and lower limit is 5. Thus class mark for it is 7.5.