I think this answer is wrong.
Let $q$ be a prime congruent to $3$ mod $4$, prove the quotient ring $\mathbb{Z}[i]/(q)$ is a field with $q^2$ elements
It is written that
I think computing the quotient (as sugggested in the other answer) is the easiest way to solve this. Nevertheless here is an alternative:
If you are fine about $\mathbb Z[i]/(q)$ being a field, you can find the number of elements by looking only at the abelian group structure.
As an $\mathbb Z[i]$ is generated by $1,i$, hence so is $G := \mathbb Z[i]/(q)$. $1$ and $i$ have order $q$ in $\mathbb Z[i]/(q)$. So we have two subgroups $A = \langle 1 \rangle, B =\langle i \rangle$ of order $q$ with $G=AB$ and $A \cap B=0$ (since they have both prime order, they are either equal or have trivial intersection), which implies $G = A \times B \cong \mathbb Z/q\mathbb Z \times \mathbb Z/q\mathbb Z$.
Why is this answer wrong ?
Here $A \cap B = q$ but in answer it is written that $A \cap B=0$ that is totally wrong
Also, $\gcd(q,q)=q \neq 1 \implies \mathbb Z[i]/(q) \not \simeq \mathbb Z/q\mathbb Z \times \mathbb Z/q\mathbb Z$
$\mathbb Z/q\mathbb Z \times \mathbb Z/q\mathbb Z$ is not integral domain
My thinking:
$\mathbb Z[i]/(q) \not \simeq \mathbb Z/q\mathbb Z \times \mathbb Z/q\mathbb Z$
Because take $f:\mathbb Z[i] \to \mathbb Z/q\mathbb Z \times \mathbb Z/q\mathbb Z$ defined by $(a+bi) \to (a\mod q,b\mod q)$ is not a homomorphism with kernal $(q)$