I'm trying to determine if the following sets are countable: (a) $\mathbb{Z}^{[0,1]}, (b) [0,1]^{\mathbb{Z}}, (c) \mathbb{Z}^{\mathbb{Z}}$, (d) the set given by functions $f:\mathbb{Z}\to\mathbb{R}$ such that $f(n)\neq0$ only for finitely $n$ (otherwise zero), (e) the set given by functions $f:\mathbb{Z}\to\mathbb{Z}$ such that $f(n)\neq0$ only for finitely $n$ (otherwise zero).
Here $Y^X$ denotes the set of all function from $X$ to $Y$. I've seen similar question that involves $\{0,1\}$ instead of $[0,1]$, I'm not sure how to proceed if I have the last case (I'm considering the possibility that the question is wrong, wouldn't imply that question 1 and 2 are uncountable just because $[0,1]$ is uncountable?).
Is there a theorem that states "If $f:X\to Y$ and $X$ or $Y$ is uncountable then $Y^{X}$ is uncountable"?
For (a) I'm tempted to say uncountable but I haven't found a way to write a proof that looks good.
Still, I believe I could prove that $Z^{[0,1]}$ is uncountable also by proving that $\mathbb{Z_+}^{\{0,1\}}$ is uncountable because $\mathbb{Z_+}^{\{0,1\}} \subset \mathbb{Z}^{[0,1]}$. To do this I repeat Cantor's argument: if $\mathbb{Z_+}^{\{0,1\}}$ is countable then we can have a list $\{f_1,f_2\}$ with every function, but defining $f(n)= 0$ (if $f_n(n)=1)$ and $f(n)=1$ (if $f(n(n)=0)$ we have a that $f$ is not in the list; I believe this would probe (b).
For (c), since $Z^{[0,1]} \subset Z^{\mathbb{Z}}$ can I conclude $Z^{\mathbb{Z}}$ uncountable?.
Can I conclude (d) uncountable because $\mathbb{R}$ uncountable?. Another argument may be the following: If countable we have a list $\{f_1,f_2,f_3,\dots\}$ of functions, now define $f(n) = a_1.a_2a_3a_3\dots$ where $a_n= 0$ if nth term of the decimal expression of $f_n(n)$ is not $0$ and $1$ otherwise; would this construct a function that is not in the former set and finish the proof?.
For (e) maybe I can split $\mathbb{Z}$ considering $\mathbb{Z}=\mathbb{Z_{-}}\cup{\{0\}}\cup\mathbb{Z_+}$ and prove that each one is countable. I'm not sure yet what to do, should I consider all the cases, this is, $f:Z_+\to Z_+, f:Z_+\to Z_{-}$, etc?.