In independent variable would be the hours studied, because it doesn't depend any anything. The dependent variable would be the test scores, as they all tie into each other.
B Is the correct answer , Because you have to study for the test in order to take the test , so her studying will show up on her test. its the dependent variable