(b)
Since, $A = \{ x: - 1 \leq x \leq 1\}$
And $B = \left\{ y:1 \leq y \leq 2 \right\}$
Also, $\ y = f(x) = 1 + x^{2}$
For $\ \ \ \ x = - 1,\ y = 1 + ( - 1)^{2} = 2$
And for $x = 1,\ y = 1 + 1^{2} = 2$
$\therefore f$ is not injective. (one-one)
Here, $\forall B$ their is a preimage.
Hence, $f$ is surjective.