A college student was caught in a compromising situation during an exam