The best answer is:
D. yes, because the students were randomly selected by the principal.
Random selection helps ensure that the sample is representative of the larger school population, which allows for generalizations to be made about the student body as a whole. While it is true that 30 seventh graders and sixth graders are selected compared to a larger population of eighth graders, randomness in selection allows for unbiased representation from each grade level.