Python Creating Robust Programs

This lesson allows pupils to consolidate their Python programming skills they have learnt so far by giving them a challenging program to complete. They need to create a program that allows messages to be encoded and decode using a Caesar cypher. While they are doing this, they are acquiring valuable skills about creating robust programs and how to break a complex task into manageable chunks along with common techniques programmers use when tackling large programs.

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, 2 videos to teach key skills and lots of practical programming practice. It also includes a comprehensive teacher’s lesson plan including the answer to the main programming challenge.

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).

Duration: 1 lesson

This lesson teaches pupils about:

  • Using sensible variable names and user prompts
  • Creating a menu system that works
  • Creating a robust program that takes into account user errors to prevent them from crashing the program
  • How to break a complex task into manageable chunks
  • Caesar cypher
  • Converting strings into ASCII code and converting ASCII code into strings
$4.56
Save for later
  • 08CreatingRobustPrograms.zip
  • KS3-Python-SoW.pdf
  • Terms-of-Use.pdf

About this resource

Info

Created: Jul 9, 2019

Updated: Oct 7, 2019

Whole lesson

zip, 266 MB

08CreatingRobustPrograms

Other

pdf, 192 KB

KS3-Python-SoW

Other

pdf, 52 KB

Terms-of-Use

Report a problem

Get this resource as part of a bundle and save up to 20%

Tes Paid Licence

How can I re-use this?