Consider $\mathbb{Q}$ ,the set of rational number , with metric $d(p,q) = |p-q|$.then which of the following statement is true ?
$a)$$\{q \in \mathbb{Q} : 2< q^2 < 3 \}$ is closed
$b)$ $\{ q \in \mathbb{Q} : 2 \le q^2 \le 4\}$ is compact
$c)$ $\{ q\in \mathbb{Q} : 2 \le q^2 \le 4 \}$ is closed
My attempt : I think option $b)$ and option $c)$ is correct by Heine Boral theorem : closed + bounded = compact
Is this True ?
Any hints/solution will be appreciated
Thank you!