Sentence:  Therefore each binomial trial can be thought of as producing a value of a random variable associated with that trial and <WSD>taking</WSD> the values 0 and 1 , with probabilities q and p respectively . 
Meaning of the word marked with <WSD> tags:  take on a certain form, attribute, or aspect