Please answer this correctly

Which variable depends or is affected by the quantity of the other variable?
-The number of cards Jonathan brings in is the dependent variable because it depends on the number of students in his class.
Hope this helps! :)