Evaluate the probability that in this string the quantity

of an* a priori* defined digit, say zero, is even.

Double check your result by

either

a. direct count and comparison (e.g. n=4)

or

b. getting the same result by two distinct methods.