Total number of students in the class = 10 + 13 + 12 + 5 = 40
Number of students having blood group B = 12
∴ P(A student selected at random has blood group B)
=
=
=
Thus, the probability that a student selected at random from the class has blood group B is .
A student is selected at random from the class. The probability that he/she has blood group B, is .