(a) It is periodic but not Simple Harmonic Motion because it is not to and fro about a fixed point.
(b) It is a simple harmonic motion because the mercury moves to and fro on the same path, about the fixed position, with a certain period of time.
(c) It is simple harmonic motion because the ball moves to and fro about the lowermost point of the bowl when released. Also, the ball comes back to its initial position in the same period of time, again and again.
(d) A poly-atomic molecule has many natural frequencies of oscillation. Its vibration is the superposition of individual simple harmonic motions of a number of different molecules. Hence, it is not simple harmonic, but periodic.