Device Prototype

A sketch stays loaded until overwritte, even through power off. So, yes, it is uploaded only once.

Presuming, of course, that the sketch works. Not that mine ever do...