C. How much sleep each student gets
It says directly that you are trying to test how the amount of sleep a student gets affects their performance. If that is the case, it would make sense to change the hours or amount of sleep each student gets before taking the test.