1) Did they go to school yesterday? -- Yes, they did. No, they didn't.
2) They went to school yesterday, didn't they?
They didn't go to school yesterday, did they?
3) Who went to school yesterday?
4) When did they go to school?
5) Where did they go yesterday?
6) Why did they go to school yesterday?
How did they get to school yesterday?