Student shoots bottle into trash, professor gives 100 on quiz