is f(x)= x^2+2^x+1 a polynomial? Explain

No, it isn't. Polynomials are sums of terms, each of which is a constant multiplied by an integer power of x (such as 2x^2). Polymoicals also can contain a constant term.

2^x is not an allowed term in a polynomial