Answer:
the independent (test) variable is the physical changes (studying in the light or the dark) and the dependent (outcome) variable would be whatever you are trying to study (I assume it is the behavior of the moths)
Explanation:
the test variable is the variable you change during the experimental process and the outcome variable is what would be directly effected by the change in the experiment.
Test Variable--- changing the amount of light
Outcome Variable--- the effect it has on the moths
hope this helps :)