Final answer:
The principal used stratified random sampling by dividing students into groups based on gender and subject and then selecting random students from each group. Option C is the correct answer.
Step-by-step explanation:
The school principal used stratified random sampling for testing average scores of high school boys and girls in each subject. This sampling method involves dividing the population into subgroups (strata) that may share a similar characteristic - in this case, gender and subject - and then selecting members from each subgroup at random.
After creating strata like "Male chemistry students" and "Female chemistry students," the principal then randomly selected students from each stratum to ensure a representative sample from all categories.
The correct option, in this case, is C.
He used stratified random sampling because he first separated the sample into like groups and then selected random students from each group.