Which is a sentence fragment?

A. Swept the floor first, then washed dishes.

B. Maggie's photos were displayed in the lobby.

C. In the first year, Julio won three blue ribbons.

D. Turning on the light, he suddenly got a shock.