Answer:
B. 40 and 50%
Explanation:
The support related to a rule is the total number of transactions that contain both X and Y. Whereas confidence is the total number of transactions that contain both X and Y by the total number of transactions that contain X.
Here X union Y= 2. Hence, percentage = 2/5 =40% (Support)
and Cardinality of X is 4
Confidence =2/4 = 50%
Hence, B. is the correct option.