 \text{P(Sucess)} = \binom{1}{1} p^1 (1-p)^{1-1} = p\\\\ \text{P(Failure)} = \binom{1}{0} p^0 (1-p)^{1-0} = 1-p = q\\\\ \text{Here, }p+q =1 