Sentence:  Therefore each binomial trial can be thought of as producing a value of a random variable associated with that <WSD>trial</WSD> 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