(0) While we were writing a math test, our from teacher came into the room.
1) I was playing the compter game from 6 till 7 yesterday.
2) What were you doing when I saw you yesterday?
3) While I was buying presents, I met my friend.
4) When he came into the room, music was playing.
5) Were you doing homework at 6 yesterday.