A Bernoulli random variable XXX has P(X=1)=pP(X=1) = pP(X=1)=p. What is its variance?
p
p^2
p(1-p)
1-p