How can I find the characteristic polynomial of the matrix $A$, so that I can find all of its eigenvalues, and hence the spectrum, so that I can use the spectrum to calculate the determinant of $A$?
And $A$ is a $10 \times 10$ matrix with $2$'s on the main diagonal and $1$'s everywhere else.
Recall that for a square matrix $A$, eigenvectors and eigenvalues satisfy the equation
$$Ax = \lambda x.$$
Moving everything to one side, you get
$$Ax-\lambda x = 0.$$
Factoring out the $x$, you have
$$(A-\lambda I)x = 0.$$
To solve for $x$, if $A-\lambda I$ were an invertible matrix, then multiplication by its inverse gives
$$x = (A-\lambda I)^{-1}0 = 0$$
which is not particularly interesting. So we instead choose $\lambda$ so that the matrix $A-\lambda I$ is not invertible. So eigenvalues are precisely the $\lambda$ that make the matrix $A-\lambda I$ not invertible and the determinant gives a nice criterion for when this is true.
Taking $A$ to be the matrix in the question, it is clear that $A-I$ is the matrix of all $1$'s. Every row is a linear combination of each other so the matrix is not invertible and $\lambda = 1$ is an eigenvalue. This is obvious by simply looking at the matrix $A$ and asking ourselves if there is a constant we can subtract along the main diagonal so that two rows are the same.
It is clear that there is only one linearly independent row. So the dimension of the eigenspace is $9$. Now use the fact that
$$\operatorname{tr}(A) = \sum_{\lambda \in \sigma (A)} \lambda$$
and the knowledge of the other nine eigenvalues to get the tenth.