A researcher investigated the relationship between test length and grades in a Western Civilization course. After randomly assigning students to groups, she found that students who took longer exams received better grades than students who took shorter exams. What is the independent variable? What is the dependent variable? Justify your answer.