In Alfonso's experiment, the speed by which earthworms move is his dependent variable while his independent variable are the degrees of temperature.
He will be changing the degrees of temperature to see how this will affect the speed by which earthworms will be moving.