I mean,when my computer's off,how could I get a virus?
You can't, plain an simple.

when I'm not connected to the internet,how could I get a virus that's being spread through the internet?
You could have something else running in backgound that is connected to the internet, therefore, you could be at risk, however if your computer is off, refer to my first answer.

Cheers: