Answer:
For the pendulum , yes and for the spring ,No
Step-by-step explanation:
We will examine the two cases,
For pendulum;
we see that for a pendulum, the period depends on the gravitational acceleration of the region it is. so the period for earth will differ compared to that of the moon.
For a spring;
form the equation above is obvious that the period of a spring in vibration is independent of gravitational acceleration of the region it is.