I have the following questions which i've anwered but want to check the correctness of before moving on with other similar questions.

1. Let A = {0,1} and let B = {2,3}

i. how many ordered pairs are in A x B

ii. Draw the arrow diagrams for all the relations from A to B that contain exactly 2 ordered pairs.

iii. How many of these are functions?

My answers:

i) 4

ii)

iii) My understanding is a function requires a 1 to 1 relationship for all elements in the domain so the first two would be functions.