The correct option is D (x−2) is a factor of f(x)
Given polynomial is f(x)=x3−2x2−x+2.
According to factor theorem, if (x−a) is a factor of f(x), then f(a)=0
f(1)=(1)3−2(1)2−(1)+2=0
⇒(x−1) is a factor of f(x)
f(2)=(2)3−2(2)2−(2)+2=0
⇒(x−2) is a factor of f(x)
f(−2)=(−2)3−2(−2)2−(−2)+2=−12≠0
⇒(x+2) is not a factor of f(x)