Ответ:

Had she done her homework before she went to school?