No, because he did not choose students randomly.
Using only the students from two band classes may not provide a representative sample of the entire school's population, as it is likely biased towards students who are already involved in music and may not accurately reflect the average number of instruments played by all students in the school.