A coin is tossed two times. The set of outcomes is given as S = {HH, HT, TH, TT}.
Let X represent the number of times heads occurs.