(a) Tension in the spring when bob passes through lowest point
$T = mg + \frac{mv^{2}}{r} = mg + mv\omega\ \ \ \ \lbrack\because v = r\omega\rbrack$
putting $v = \sqrt{2gh}\ $and $\omega = \frac{2\pi}{T} = \frac{2\pi}{2} = \pi$
we get$\ T = m(g + \pi\sqrt{2gh})$