An educational psychologist wanted to know the effects of 4 different methods of teaching arithmetic. He selected 3 classrooms of third graders to receive each of the four teaching methods (12 classrooms in all). At the end of the school year, all the pupils took the same achievement test, and the means for groups receiving different methods were compared. What was the dependent variable?