I'd be scared a bit, but I'd try to stay calm, then try to plan with whoever is with me, should we try to run away or hide and stay quiet. If anyone has a cellphone, he should call the cops. If the shooter happens to enter the classroom we are in, I'd either dive out of the window and hope for the best, or try to reason with the guy/girl.