We have four points.
These points represent a function because there is one and only value of y for every value of x.
Domain: all the values of x.
[tex]x\in\lbrack0,1,2,3\rbrack[/tex]Range: all the values of y.
[tex]y\in\lbrack2,3,4,5\rbrack[/tex]It is a function.