Did my friend have a siezure or just a hypoglycemia reaction?

We were in science class and all of a sudden he moaned slightly and collapsed with his eyes open and he was shaking sightly. He described it as him feeling dizzy and then he was falling and there were streaks of lights and then heard loud noises. Then he popped back up and felt very dizzy. After he layed down for 30 seconds he was fine. He also complanied his stomach really hurt before he collapsed. This has never happened to him before. Any suggestions?