Reading the ticks, R={(Asha,Art),(Asha,CS),(Bilal,Bio),(Dev,Art),(Dev,Bio),(Dev,CS),(Esha,CS)}, so n(R)=7.
(i) The domain is the set of students with at least one tick: {Asha,Bilal,Dev,Esha}. Chen is not in the domain. (1 mark)
(ii) The range is the set of electives with at least one tick: {Art,Bio,CS}. Dance is in the codomain but not in the range.
Pre-images: Art has 2 (Asha, Dev), Bio has 2 (Bilal, Dev) and CS has 3 (Asha, Dev, Esha). CS has the most pre-images. (1 mark)
(iii) A relation from T to E is a subset of T×E, which has 5×4=20 pairs. A relation containing R must include the 7 pairs of R; each of the other 20−7=13 pairs may be added or left out. (1 mark)
number of relations containing R=213=8192
(1 mark)