I __________ working all afternoon and have just finished the assignment.

A)
am
B)
had been
C)
shall be
D)
have been

Correct Answer :   had been