Inadvertant Flag Quiz

With due credit to E. Evans;
Please defend answer(s) using 2007 ncaa rules
Team A in possession as it crosses midfield and inadvertent flag thrown by official thinking B is offsides. They are not offsides. Who gets the ball when:
1. Official blows whistle with Team A in possession?
2. Official blows whistle after ball is rolling on ground after being checked out of A's crosse?
3. Official blows whistle after B intercepts A's pass?
4. Official blows whistle after A's pass goes out of bounds?
5. Official blows whistle after A's shot goes over the endline?
6. Official blows whistle after A scores?
Extra Credit:
7. Official blows whistle after B intrercepts A's pass whereupon there is a double horn and the timekeeper tells official he released A3 early from his penalty?