This lesson teaches pupils about generating and using random values including floating point, integers and strings in Python. It 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 all the answers.
Please note: This lesson does assume the pupils are familiar with basic programming constructs of sequence, selection (if statements) and iteration (while and for loops).
Duration: 1 lesson
This lesson teaches pupils about:
- Importing the random module
06 Random Values
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