I have the following question in a competitive exam , but I failed to answer it.The question is:
Let $\mathcal R = \{f:\{1,2, \dots , 10\} \rightarrow \mathbb Z_2\} $ be the set of all $\mathbb Z_2$-valued functions on the set $\{1,2,\dots , 10\}$. Then $\mathcal R$ is a commutative ring with pointwise addition and multiplication of functions.Which of the following statements are correct?
- $\mathcal R$ has a unique maximal ideal.
- Every prime ideal of $\mathcal R$ is also maximal.
- Number of proper ideals of $\mathcal R$ is 511.
- Every element of $\mathcal R $ is idempotent.
The only option I was able to answer was option 4 .
Can anyone help me understanding the ring in the question and the options.
Any insight will be happily appreciated. Thank you.