Answer
See below.
Work Step by Step
We know that $probability=\frac{\text{number of favorable outcomes}}{\text{number of all outcomes}}$
a) Hence here the probability is $\frac{2}{4}=\frac{1}{2}$
b) Hence here the probability is $\frac{0}{4}=0$