Sentence:  Therefore each binomial <WSD>trial</WSD> can be thought of as producing a value of a random variable associated with that trial and taking the values 0 and 1 , with probabilities q and p respectively . 
Meaning of the word marked with <WSD> tags:  the act of testing something