The correct option is D.
An independent variable refers to a research variable that is changed or controlled in an experiment while the dependent variable is the one that is been tested or measured, it is the one that the researcher has interest in.
In the scenario given in this question, the height from which the balls are dropped was controlled, thus, it is the independent variable. The time that it takes the different types of balls used in the experiment to reach the ground level is the dependent variable, because that is the variable the research is interested in and it is the one that is been measured.