Concept:Emphatic stress falls on the word that corrects the questioner. The right question contains a different word in exactly that position, and everything else stays the same.
Explanation:The stressed word is THIRD-YEAR, so the question must have named a different year of girls.
A. differs in the verb (reprimanded); the stress would fall on COMMENDED.
B. differs in the agent (doctor); the stress would fall on PRINCIPAL.
C. differs in the group (boys); the stress would fall on GIRLS.
D. "Were the first-year girls commended by the principal?" differs only in the year, so the reply corrects it: No, the THIRD-YEAR girls were.
Answer:Option D (Were the first-year girls commended by the principal?)