It’s nearly impossible to remember what it feels like to not know this information. Often the best programming teachers are people who recently learned the material, for that reason.
The problem with learning to program in a classroom environment is that one kid may find exercise one difficult, another kid may find exercise three difficult, etc, the probability that any kid will get 'left behind' at some point is high. Classrooms are pretty bad places for learning.