Let $Z$ be a random variable which takes the value 1 when $U \le \frac 14$, $0$ otherwise, where $U$ ~ $\text{Uniform}(0,1)$.
So $Z$ is a Bernoulli random variable with PMF $$p_Z(z) = \begin{cases} p, & \text{if $Z=1$} \\[2ex] 1-p, & \text{if $Z=0$} \end{cases}$$ Is $p =\frac 14$?