At this link you can find three programming exercises.
Exercises
They are in no particular order. One focuses on loops, one on IF statements and another integrating multiple functions together
Department of Management Information Systems, Temple University