You can rewrite the function [tex]\{(1,2),\ (-2, 0),\ (3,0),\ (4, 6)\}[/tex] as table
[tex]\begin{array}{cc}x&y=f(x)\\1&2\\-2&0\\3&0\\4&6\end{array}[/tex]
The domain of the function is the set of all possible values for the variable x. In your case, the domain of the function f(x) is the set [tex]\{-2,\ 1,\ 3,\ 4\}.[/tex]
The range of the function f(x) is the set of all possible values of the variable y. In your case, the range of the function f(x) is the set [tex]\{0,\ 2,\ 6\}.[/tex]
Answer: Domain - [tex]\{-2,\ 1,\ 3,\ 4\}[/tex] (option A), Range - [tex]\{0,\ 2,\ 6\}[/tex] (option D).