You are expected to write on a written exam.
Of the below sentences, which one does *not* make sense?

(A) "sam was caught writing on a written examination"
(B) "sam was caught cheating on a written examination"