Mark the letter A, B, C or D on your answer sheet to indicate the correct answer to each of the following questions.
She ______ on her computer for more than two hours when she decided to stop for a rest.
A. has worked
B. has been working
C. was working
D. had been working