Look into ADHD. My son can act like this. He needs lots of one on one attention in group situations. He's not trying to be bad or clowning when he asks all these questions, he's just truly wondering. I mean he can't. His brain probably didn't even see the logic that the books K and 1 weren't applicable to the class. He really wanted to know the answer. He felt as if they were important details because that's where the train of thought took him. If you try to ignore it, the train will derail and he will get frustrated. however if the question is answered with details he might have been able to move on. I know my son will. He's got to finish his train of thought and sometimes it's just faster to let him than redirect him. The problem is that sometimes kids whose brains go that fast and who think of all the other details are often found to be behavior problems even when it was never the intention.
You don't have to chose medication. My son is on a diet that eliminates all artificials (colors, flavors, preservatives). It's amazing how much his behavior and ability to focus change with these out of his system. He can drop subjects and ignore insignificant details so much better without these things in his body. He still notices the details, but he doesn't obsess about them. Our problem this week is that he's had to be on medication for the last two weeks. Children's medication is chock full of artificials. Yesterday was the last day, thank God! Yesterday was a very challenging day the logic of cause and effect was lost on him. If something popped into his head, he had to accomplish it despite disobeying. Dad was trying to get him ready for bed while I finished the dishes. They brushed teeth and then headed to my son's room to get pj's. My son took off down the hall to the kitchen despite Dad's instructions to go straight to his room. My husband ended up yelling and calling for him to come back, but he couldn't until he made sure that I knew he had brushed really well and was going for his pajamas. I mean he showed me inside and out, up and down, that he brushed everywhere. He never needs to tell me this, but last night it was of life or death importance.
I have a friend with a third grader who also got in trouble regularly. He is kind and bright. One day he got sent to the office and suspended (this was the end of many office referrals). He was making funny noises and bumping into people in the halls, waiting in line at the bathroom. The teacher didn't even bother to find out what he was doing, just sent him to the office. The principal called Mom, and the story came out. He was walking with his eyes closed, trying to see if echolocation worked for people. They had been read about it in class that day. He never even thought that trying it out might hurt/annoy people. I mean, do you punish kids for their misguided curiosity or do you find an environment where it can be directed?