I have the question "The time periods are measured for a simple pendulum and a mass on a spring on Earth. The measurements are then repeated on the moon. One of the time periods is now different. Which one is it ? Explain your answer."
Is the answer that the time period on the moon is different because Gravity is now different ?
The period $T$ of the pendulum depends on the local gravity $g$: $$T \approx 2\pi \sqrt{\frac{L}{g}}$$
The period of the mass on a spring does not: $$T = 2\pi \sqrt{\frac{m}{k}}$$