Answer:
Step-by-step explanation:
Time period of Simple pendulum is given by

where L=length of Pendulum
g=acceleration due to gravity
(a)When elevator is accelerating upward with

effective g will be g+a=9.8+5
therefore time period will decrease
(b)When elevator is moving upward with 5 m/s
effective g will be g as there is no added acceleration
therefore time period will remain same
(c)When elevator is accelerating downward with

effective g will be g-a=9.8-5
therefore time period will increase
(d)When elevator is accelerating downward with

effective g will be g-9.8=0
therefore time period will become infinite