Skip to content

Unit of work

Introduction to cyber security

Computational thinking, Programming, Safety & security | MakeCode | 11-14 yrs

Lesson 3

Making a password generator

Introduction

In this lesson students use their pseudocode algorithm to code their password generator before testing, debugging and evaluating it.

Learning objectives

  • To follow a pseudocode algorithm to program a password generator using a micro:bit
  • To write a program using variables correctly
  • To test and debug code to create a working password generator

You will need

Downloadable resources:

  • Lesson plan
  • Lesson slides
  • Student handouts
    • coding support sheet
    • password generator evaluation
  • HEX file: password generator example

Other resources:

Paper - rough, student work from previous lesson

Lessons created in partnership with Nominet

Lesson plan