Independent variable: the interdependent variable in this example, could be a number of things but the main one is what type of brand is the gum and what kind is it.
Dependent variable: the dependent variable is what you are trying to find so in this case, you are trying to find does gum affect a student's performance.This is the Dependent variable.
Hope I helped!
Have a nice day,
scollier1607