If an object oscillates 40 times in one second. Then frequency is:
40 Hz
Since, frequency is defined as the number of oscillations per second. So, here it is given that the body oscillates 40 times in one second, therefore the frequency for oscillation is 40 Hz.