Consider the rings, $Z_2[x]/(1 + x^2)$ and $ Z_2[x]/(1 + x + x^2)$, despite having different polynomial as divisor, I have been told that -
$$Z_2[x]/(1 + x^2) = \{0, 1, x, 1 + x\}$$
and
$$Z_2[x]/(1 + x + x^2)= \{0, 1, x, 1 + x\}$$
Then what is the difference between $Z_2[x]/(1 + x^2)$ and $ Z_2[x]/(1 + x + x^2)$?
Well, both quotient rings are vector spaces over $Z_2$ of dimension 2, both with bases $\{1,x\}$.
In general, if $K$ is a finite field and $f(x)$ is a polynomial over $K$ of degree $n$, then $K[x]/\langle f(x)\rangle$ is a vector space over $K$ of dimension $n$.
The difference above is that $x^2+x+1$ is irreducible over $Z_2$, while $x^2+1=(x+1)^2$ is not. So $Z_2[x]/\langle x^2+x+1\rangle$ is a field, while $Z_2[x]/\langle x^2+1\rangle$ is not (it has zero divisors).