Question: what were the dependent and independent variable in an experiment?
Answer: The independent variable is the variable the experimenter changes or controls and is assumed to have a direct effect on the dependent variable. ... The dependent variable is the variable being tested and measured in an experiment, and is 'dependent' on the independent variable.