The total number of balls in the bag $$= 3 + 4 + 1 = 8$$ balls
So, the number of possible outcomes $$= 8 = n(S)$$
Probability of not drawing a yellow ball $$= 1 -$$ Probability of drawing a yellow ball
Thus, probability of not drawing a yellow ball $$= 1 – 1/8 = (8 – 1)/ 8 = 7/8$$