A student changes the number of hours he studies for a test to see how it affects his test score what is dependent and independent variables

he can change the hours

the score depends on that, right?