Microbits - Y8 -Password Generator with Microbit

Creating a Password Generator with Microbit
1 / 13
Slide 1: Slide
ComputingLower Secondary (Key Stage 3)

This lesson contains 13 slides, with interactive quizzes and text slides.

time-iconLesson duration is: 50 min

Items in this lesson

Creating a Password Generator with Microbit

Slide 1 - Slide

This item has no instructions

Learning Objective
At the end of the lesson, you will be able to create a password generator with Microbit.

Slide 2 - Slide

Introduce the learning objective and explain the importance of password generators.
What do you already know about password generators?

Slide 3 - Mind map

This item has no instructions

What is a Password Generator?
A password generator is a tool that creates a complex and random password.

Slide 4 - Slide

Explain what a password generator is and why it is important to use one.
Why Use a Password Generator?
Using a password generator ensures that your password is strong and difficult to guess.

Slide 5 - Slide

Discuss the importance of using strong passwords and how password generators can help.
How Does a Password Generator Work?
A password generator uses a random number generator to create a unique password.

Slide 6 - Slide

Explain the process of how password generators work.
Setting Up the Microbit
Connect the Microbit to your computer and open the MakeCode editor to start coding.

Slide 7 - Slide

Provide step-by-step instructions on how to set up the Microbit and open the MakeCode editor.
Coding the Password Generator
Use the MakeCode blocks to code the password generator, using a random number generator and string concatenation.

Slide 8 - Slide

Provide step-by-step instructions on how to code the password generator using MakeCode blocks.
Testing the Password Generator
Test the password generator by generating multiple passwords and checking their strength.

Slide 9 - Slide

Provide instructions on how to test the password generator and check the strength of the generated passwords.
Extension - Magic 8 Ball
Can you create a Magic 8 Ball to tell your future?

Slide 10 - Slide

This item has no instructions

Write down 3 things you learned in this lesson.

Slide 11 - Open question

Have students enter three things they learned in this lesson. With this they can indicate their own learning efficiency of this lesson.
Write down 2 things you want to know more about.

Slide 12 - Open question

Here, students enter two things they would like to know more about. This not only increases involvement, but also gives them more ownership.
Ask 1 question about something you haven't quite understood yet.

Slide 13 - Open question

The students indicate here (in question form) with which part of the material they still have difficulty. For the teacher, this not only provides insight into the extent to which the students understand/master the material, but also a good starting point for the next lesson.