Ms Buchanan surveyed each of her students about the amount of time they studied for a test

and recorded the following data:

Student 1: 2 hours
Student 2: 3 hours
Student 3: 4 hours
Student 4: 5 hours
Student 5: 2 hours
Student 6: 6 hours
Student 7: 4 hours
Student 8: 3 hours
Student 9: 5 hours

To find the total amount of time the students studied, we can add up the hours:

2 + 3 + 4 + 5 + 2 + 6 + 4 + 3 + 5 = 34 hours

Therefore, the students in Ms Buchanan's class studied for a total of 34 hours.