If y=f(x) is the function, then
- the domain of the function are all possible values of variable x;
- the range of the function are all possible values of variable y.
From the graph you can see that
- the domain is
(if you draw verical lines, they will intersect the graph only for
); - the range is
(if you draw horizontal lines, they will intersect the graph only for
).
Answer: correct choice is B.