GCSE – Lesson 6 – Randomisation

Curriculum KS4 Unit Lesson

In computer science, random numbers are something that you are likely to use regularly. They are also used in areas such as cryptography, whilst pseudo-random numbers are used in video games, modelling and simulations. In this lesson, learners are introduced to the concept of random numbers using Python documentation. Learners will determine what the random module is capable of and how random numbers can be generated in Python.

Learning objectives

  • Be able to locate information using the language documentation
  • Import modules into your code
  • Demonstrate how to generate random numbers

Package contents

  • Lesson plans
  • Slide decks
  • Learner resources
  • Homework