In reply to AwfullyBigAdventure:
> cramming devises.
Nice typo
> Obviously I will not use them until taking a course
The aforementioned cramming devices might help you with this
> once placed in the rock, what is to stop them from moving upwards as the climber ascends and coming loose?
Gear can indeed lift out if you aren't careful (and sometimes even if you are). However, you connect the gear to the rope with what is normally called a quickdraw (two snapgate krabs joined by a sling), or an extender, which creates flexibility and helps prevent ropedrag. This means the leader doesn't feel like he or she is being pulled backwards but also helps the gear stay in place. Also, the gear isn't exactly loose in the crack - you tug your nuts in to "seat" them properly and cams, by their nature, expand into the crack and generally stay put (though they can "walk" a bit).
Serious point - it's a shame to feel you need to take a course to learn to lead. Most of us on here will have learnt to lead trad without any course. It's very normal (and cheaper!) and more in the spirit of adventure (I note your username) to start without formal instruction. I think most people learn to lead by seconding some routes and looking at the gear you remove, how it was placed, the belay set ups the leader used etc. We used to call it serving your apprenticeship though, with climbing walls etc, that seems to have gone out of fashion. Do you have anyone you could tag along with to have a look to see how it works, second some routes etc, before trying it yourself on some nice friendly easy routes?