This is an example of spoken negative peer pressure. Ken doesn't want to drink but one of her friends clearly thinks that she should just leave if she doesn't want to participate in drinking and tells her so. This would either pressure Ken into doing something she doesn't want to do.
Is he not supposed to be using a calculator during his tests? If so I would say you should tell the teacher so that your teacher can work out an appropriate course of action not only to reprimand him but also so that he can get the help he needs to succeed from some kind of tutoring maybe.