问题

He was about to leave the office for home _______someone knocked the door and asked for some help
A:until
B:while
C:as
D:when
B:while
C:as
D:when
正确答案是: