3) "While, as" and sometimes "when" are used to describe something with duration that happened at the same time as something else. Therefore, they are followed by continuous tenses:
I saw Peter while / as /when I was getting off the bus. ( past continuous).
I hope you'll think of me for a moment while / as /when I'm taking my driving test. ( present continuous )
4)