Classify the polynomial based on the number of Terms and degrees.

2x^2 - x + 1

This polynomial has 3 terms and the highest degree is 2, so it is classified as a trinomial of degree 2.