Let $B = \{(x, y) \in \mathbb{R}^2 : x^2 + y^2\le 1\}$ and $D = \{(x, y) \in \mathbb{R}^2 : x^2 + y^2 < 1\}$. Please help me to pick out the true statements.
(a) Given a continuous function $g : B \to \mathbb{R}$, there always exists a continuous function $f : \mathbb{R}^2 \to \mathbb{R}$ such that $f = g$ on $B.$
(b) Given a continuous function $g : D \to \mathbb{R}$, there always exists a continuous function $f : \mathbb{R}^2 \to \mathbb{R}$ such that $f = g$ on $D.$
(c) There exists a continous function $f : \mathbb{R}^2 \to \mathbb{R}$ such that $f = 1$ on the set $\{(x, y) \in \mathbb{R}^2 : x^2+y^2 = \frac{3}{2}\}$ and $f= 0$ on the set $B\cup\{(x, y) \in \mathbb{R}^2 : x^2+y^2 \ge 2\}$.
Do I need to use Pasting/Gluing Lemma?