A desperate student is a student struggling in class. Normally he's having difficulties understanding the course materials, or having difficulties complete the assignments.
The consequences are he (she) become desperate, he starting to disturb other students and become paranoid, irritated.
"The Desperate student is crazy in his seat"
"I see, he's freaked out"