The attack at about 11:45 a.m. sent police swarming onto the campus while students and professors barricaded themselves inside classrooms and dorm rooms.