In $S.H.M.$
$a=-\omega^2 x$
Thus acceleration varies linearly with time.
Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.