Of course, the second, because, in the first case, yuo only say it in that way : What were you doing when the teacher walked into the classroom today? it is the certain moment. but the first one is the one activity after another, so the first sentence is correct.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
DominikThank you very much for your reply.You're welcome! I always try to do my best. And I always want to help somebody correctly.