The independent variable is the variable that is being manipulated. In this case, the independent variable is the hours of sleep.
In an experiment, we must have at least two variables;
The independent variable is the variable that we have to change frequently. The variable that changes due to changes made in the independent variable is called the dependent variable.
As such, the student is varying his/her hours of sleep and observing its effect on test performance.
The hours of sleep that is being varied is the independent variable.
Learn more: https://brainly.com/question/967776