In the following question, a part of the sentence is bold which may need improvement. Alternatives are given at (a), (b) and (c) below, one of which may be a better option. In case of no improvement is needed, your answer is (d).
As soon as she noticed the workmen, she asked them what they have been doing.
have done
had been
are doing
No improvement
B.
had been