In a physics experiment, a ball attached to a spring oscillates back and forth across a table. What factors determine the frequency of oscillation for this system?
A. The mass of the ball and the spring constant of the spring
B. The surface area of the table and the color of the ball
C. The temperature of the room and the height of the table
D. The length of the table and the speed at which the ball is pushed