We denote the ring of all continuous real-valued functions on $X$ by $C(X)$. The ring of all bounded continuous real valued functions on $X$ is denoted by $C_b(X)$. One of the goals of the study of $C(X)$ is to connect algebraic properties of the ring $C(X)$ with the topological properties of the space $X$.

For a simple and well-known connection there is the following theorem:

**Theorem**: The topological space $X$ is connected iff the ring $C(X)$ has no idempotent element other than $0$ and $1$.

My question comes from the relation between ring homomorphisms of the rings $C(X)$, $C(Y)$ and topological spaces $X$, $Y$.

Q1: Let $X$ and $Y$ be two $T_{3\frac{1}{2}}$topological spaces. If $X$ is a zero dimensional space and $C(X)$ is ring isomorphic to $C(Y)$ (i.e. $C(X)\cong C(Y)$) can we deduce that $Y$ is also a zero dimensional space?

(we recall that a topological space $X$ is zero dimensional if it has a base of clopen subsets.)

The same question can be asked by exchanging the ring $C(X)$ with the Banach algebra $C_b(X)$ as follows:

Q2: Let $X$ and $Y$ be topological spaces with the previous assumption. If $X$ is a zero dimensional space and $C_b(X)$ is ring isomorphic to $C_b(Y)$ (i.e. $C_b(X)\cong C_b(Y)$) can we deduce that Y is also a zero dimensional space?