For ideal pendulum we will say
The string in that case must be massless and in-extensible
Frictional forces must be zero
there should not be any contact surface of pendulum
Whole mass of pendulum must be concentrated at the center
so above all conditions of pendulum we will say time period is given as

now the correct answer will be
gravitational force
tension
inertia