单项选择题

The boy was seen()in the examination and was punished by the teacher.

A. having cheated
B. cheated
C. cheating
D. cheat