1No,I wasn't watching TV at 10 o'clock last night.
2Yes,I did I was doing my homework in the whole evening.
3The students were writing when the teacher came into the classroom.
4My mother was reading a book when I came home yesterday.
5No,it didn't.It wasn't raining when I went out.