Choose the correct word to complete the sentence.

Fred said that he _______ his homework when the tornado struck.

a) was doing

b) is doing