Ответ:

Interrogative: Were they absent from the lessons yesterday?

Negative: They were not absent from the lessons yesterday.