He ____ for half an hour when he realized he was painting the wrong
wall.

worked
has worked
had worked
has been working
Pre-Intermediate Grammar Exercises
Fiverr 2021 English Level Tests
Advanced Grammar Exercises
Table of English Grammar Contents (All Levels)