(b) $g = \frac{GM}{R^{2}} = \frac{G \times \frac{4}{3}\pi R^{3}\rho}{R^{2}} = \frac{4}{3}\pi G\rho R\ \ \ ie,g \propto R$
For pendulum clock, $g$ will increase on the planet, so time period will decrease. But for spring clock, it will not change. Hence, $P$ will run faster than $S$