Réponse :
1.
He was sleeping when he received a message.
The alarm ringed while I was drinking my tea.
We bought a new TV in the supermarket when we saw a famous actor.
While I was playing piano, someone came in the room.
When she saw the man, he was washing his car.
2.
a) was-was
b) were-was
c) weren't-were
3.
Did the little girl took the key on the table?
Did they were fighting?
Did the door was open?