Answer
a. The period would be undefined.
b. The period remains the same, 5.0 s.
Work Step by Step
a. The situation effectively changes the perceived g, the acceleration due to gravity, to zero inside the orbiting space station. Without a restoring force, a pendulum would just float, and not work.
b. The period of the vertical mass-spring system is independent of g, so it is unaffected by the motion described.