Just following on from this. As it was quite a while ago my school had limit amount of computers. There was only 1 computer for the class (which was in another room).
So we learnt LOGO on the black board. We all designed our "program" on paper (i think it was in pairs or small groups).
We then all took turns to go and run our program. Sometimes it worked, sometimes it didn't.
We then went back and adjusted (debugged) our program and had another go shortly after.
Basically gave us skills to plan what we wanted, write and test it and then identify problems and solve them by correcting the code.