Out of 50 students in a class taking a test, 35 of them passed whereas the other 15 failed. What is the probability that a student selected at random passed the test?
Total number of students in a class = 50
Number of students who passed the test = 35
P(P) = Number of favourable outcomesTotal number of possible outcomes
where P(P) = Probability that student passed the test
=Number of students who passed the testTotal number of students in a class