Except the general purpose of school is for the children to be educated, not to make a smart comment when they fail an exam.
Maybe this wouldnt be effective, i just thought after one or two of these exams kids might take initiative to not use their phone as much.
I was not imagining a passive agressive one liner to the students, but i understand how it sounded that way lol