QUESTION 4
Let R be a relation between A = {a, b, c} and B = {e, f} defined by aRf; bRe, cRe. Express R-1 as a set of ordered pairs. Enter your answer with no spaces between them, e.g: {(x,y) (x,2) (y,2)}. R-1
QUESTION 5
The ASCII codes for lowercase letters a, b, c, z are 97, 98, 99, 122. Define aSC: {a, b, c, 2} - {n ∈ N and 97 < n < 122},
asc(x) = ASCII code of letter X
(a) Will aSC be one-to-one? Enter Y for yes and N for no.
(b) Will asc be onto? Enter Y for yes and N for no.
(c) Will aSC have an inverse? Enter Y for yes and N for no.