For every function you need evaluate the function for every value in the domain D. And the collection of this values correspond to the range of the function.
1. [tex]D = \{0,1,2,3 \}, R = \{f(0), f(1), f(2), f(3) \} = \{-5, -2, 1, 4 \}.[/tex]
2. [tex]D = \{-1,0,1 \}; R= \{f(-1), f(0), f(1)\} = \{0, 1, 0 \} = \{0,1\}[/tex]
3. [tex]D = \{-2,-1,0,1 \}; R = \{f(-2), f(-1), f(0), f(1) \} = \{0, -2, -2, 0 \} = \{-2,0\}[/tex]
4. [tex]D = \{0,1,2,3 \}; R =\{f(0), f(1), f(2), f(3) \} = \{3, 1, -1, -3 \}[/tex]