64 Python programming exercises ranging from “Hello World” style first programs to file reading and writing. Many tasks also have extension (“bonus”) sections to stretch pupils. Exercises are sorted into sections by the skills needed to complete them (conditionals, loops, arrays, etc).
A good resource for homework, extension tasks, and independent learning. Fully editable resource, ready for printing or online use.
Basic input and output
Loops (while and for)
Subroutines and functions
File reading and writing
Some of the exercises in this document require sample code for students to edit: this code is provided in the download.
The exercises in this resource can be completed in any programming language, but some of the phrasing in the questions is specific to Python. There is also a Java version of this resource available.