This situation can be generalized: Pick any unit vector m^, and prepare a spin of +1, and rotate the apparatus to lie along n^, and measure the vector, and you will get a random series of results±1but with an average equal to the cosine of the angle between m^ and n^.
Effectively, quantum systems behave non-deterministically, with statistically random results, but repetition of experiments, provides results that match classical physics, up to a point.