The correct option is B a one-one function
f(x)=x2+x+1
f(x)=(x+12)2+34
Clearly, vertex is at (−12,34)
So, f is a one-one function in given interval [0,1]
Also, f(0)=1 and f(1)=3
∴ Range is [1,3]
Clearly, range is not same as co-domain.
So, given function is an into function.