From a high school (Algebra II) quiz:
If the domain of $f(x)=2^x$ is the positive rational numbers, what is the range?
Since "range" can be ambiguous at this level, let's assume it means the image, not the codomain.
The solution provided by the teacher was that the range was also the positive rational numbers.
No matter how you interpret range, that can't be right since there are obviously irrational numbers in the image (let $x=\frac12$).
If the answer provided was the positive real numbers I'd accept it as meaning codomain not image since $f$ maps the domain into but not onto the reals.
So my question is the following: the image is a countable subset of $\mathbb{R}$ and is described as
$\{y\in\mathbb{R}: y=2^x \space\text{for some}\space x\in\mathbb{Q}\}$
and actually a unique $x$ in this case [added: and $x>0$].
Is there another way to describe it or think about this problem at a high-school level, or it is just the teacher not fully considering what he/she asked and answered?