President Obama hugged a student as she received her diploma in Worcester.