Since $X$ is uniform in the interval $[0,1]$, $E(X^2)=\int_0^1x^2dx=\frac{1}{3}$. Variance=$\frac{1}{12}$.