Answer: Hours of sleep.
Step-by-step explanation:
The independent and dependent variables are the main elements in an experiment. The independent variable is the controlled one, which is modified to measure the effect it has on the dependent variable: the one being measured through that scientific experiment.
In this example, the hours of sleep is the independent variable and the memory for photographs is the dependent variable.