If the derivative of a function at x=a is 0, it is turning point or stationary point of inflection.
If this function's double derivative is >0 at x=a, there is a local minimum at the point x=a.
If the function's double derivative is <0 at x=a, there is a local maximum at the point x=a.
If the function's double derivative is =0 at x=a, there is a stationary point of inflection.
This is easy to remember by treatment of concavity (even though you don't need to know this) - if a function's double derivative is >0 at x=a, it is curving up at that point (hence why it's a local minimum). If it is <0 at x=a, it is curving down at x=a (so we have a local maximum). If it is =0, we have a point of inflection.
In short - you're right, but I still suggest reading the above for a bit of more understanding, because understanding maths is cool!
