A motion is simple harmonic when a body moves to and fro about a mean position under a restoring force proportional to its displacement, F=−kx, so that its displacement is a single sinusoid x=Acos(ωt+ϕ) of one frequency.
(a) Periodic but not SHM. The Earth repeats its rotation every 24 hours, so the motion is periodic. But there is no to-and-fro motion about a mean position and no restoring force, so it is not simple harmonic.
(b) SHM. If the level in one limb is pushed down by y, the level in the other limb rises by y. The unbalanced column of height 2y produces a force 2Sρgy (cross-sectional area S, density ρ) that pushes the liquid back towards equal levels. This restoring force is proportional to y, so the motion is simple harmonic (Exercise 13.18 works it out fully).
(c) SHM (nearly). When the ball is displaced along the bowl by a small angle θ from the lowest point, the component of its weight along the surface, mgsinθ≈mgθ, pulls it back towards the bottom. For small displacements this restoring force is proportional to the displacement, just as for a simple pendulum, so the motion is nearly simple harmonic.
(d) Periodic but not SHM. A polyatomic molecule has several natural frequencies of vibration. A general vibration is a superposition of several simple harmonic motions with different frequencies. Such a combination repeats itself (it is periodic) but is not one single SHM.