The correct options are
C f:{0,1,4}→{−2,−1,0,1,2} defined by f(x)=√x
D f:{0,1,4}→{−2,−1,0,1,2} defined by f(x)=−√x
For option 1:
f(−1)=−1∉{0,1,2,3}
Image of an element in domain must belong to co-domain.
So, f(x)=x3 is not a function.
For option 2:
f(4)=−2,2
which violates the definition of the function as each element in domain should have unique image in co-domain.
So, f(x)=±√x is not a function.
option 3 and option 4 are functions as they satisfy all the conditions of a function.