Answer:
Pill bugs
Explanation:
Independent variable is the variable that the experimenter changes or manipulates in order to effect a measurable response in another variable.
According to this question, a student wants to find out whether pill bugs will stay on the dark side or the lit side of the box. This means that the PILL BUGS will be the variable that the student changes, hence, PILL BUGS is the independent variable.
Note that, where they (pill bugs) will stay is the dependent variable.