This lesson allows pupils to create sub programs in Python. This lesson is suitable for KS3 computing and GCSE 9-1 computer science pupils.
It includes an attractive dyslexia friendly PowerPoint presentation that includes differentiated lesson objectives, a video to teach key skills and lots of practical programming practice. It also includes a comprehensive teacher’s lesson plan including the answers to all the programming challenges.
Please note: This lesson does assume the pupils are confident with using basic programming constructs of sequence, selection (if statements) and iteration (while and for loops) and have previously used the randint function.
Duration: 1 lesson
This lesson teaches pupils about:
- Sub programs
- Passing variable to a sub program
- Returning variables from a sub program to the main program
- Local and global variables
11 Sub Programs
Digital resources purchased from Nichola Wilkin Ltd. are to be used in the original individual school which purchases the resources only.
Resources may not be shared, distributed or displayed digitally for public view, uploaded to school or borough websites, distributed via email, submitted to file sharing sites or shared with another school or institution, even those within the same academy chain.
For full terms and conditions visit https://www.nicholawilkin.com/terms