Keep it really safe!
Use compound conditions to reinforce the encryption pattern on a safe deposit box.
- Read through the pupil material in the LEGO® Education SPIKE™ App.
Engage (5 Min.)
- Use the ideas in the Ignite a Discussion section below to engage your pupils in a discussion relating to this lesson.
- Use the video to explain the lesson.
Explore (20 Min.)
- Have your pupils work in pairs to build the super safe deposit box.
- Ask them to play the program in order to see how the lock works.
Explain (5 Min.)
- Facilitate a discussion about how and when to use ‘AND’ and ‘OR’ in compound conditionals
Elaborate (15 Min.)
- Ask your pupils to make their super safe deposit boxes even more secure by adding compound conditionals to their programs.
- Don't forget to leave some time for tidying up.
- Give feedback on each pupil's performance.
- In order to simplify the process, you can use the assessment rubrics that have been provided.
Ignite a Discussion
Start a discussion about iteration or fixing things by asking relevant questions. Here are some suggestions:
- What can happen if someone hacks your password?
- How can you evaluate the strength of a password?
- What's a compound condition?
Have your pupils watch this video to see what they're about to do.
Split each team's building tasks in order to ensure that everyone is actively involved.
- Pupil A: Super-Safe door
- Pupil B: Super-Safe box and arm
Align Motors Correctly
Make sure that the arm is raised when you start the program.
This model has a manual key that can be used to unlock the door if needed.
Simplify this lesson by:
- Programming just one compound condition
Take this lesson to the next level by:
- Having your pupils add more sensors (e.g. Distance Sensor, Force Sensor) to their models in order to create other compound conditions
- Having each team challenge another team to unlock their super safe-deposit box
- Asking your pupils to use the NOT function when defining their conditions
Teacher Observation Checklist
Establish a scale that suits your needs, for example:
- Partially accomplished
- Fully accomplished
Use the following success criteria to evaluate your pupils' progress:
- The pupils understand what a compound condition is.
- The pupils are able to use compound conditions in their program.
- The pupils can discuss digital security in detail and with precision.
Have each pupil choose the brick that they feel best represents their performance.
- Blue: I've used one compound condition in my program.
- Yellow: I've used two compound conditions in my program.
- Violet: I've used more than two compound conditions to create a super-safe program!
Encourage your pupils to provide feedback to one another by:
- Having one pupil use the coloured brick scale above to score another pupil’s performance
- Asking them to present constructive feedback to one another so that they can improve their group’s performance during the next lesson
Language Arts Extension
To incorporate the development of language arts skills:
- Have your pupils explore the meaning of digital security terminology, like:
▷ Compound Conditions
▷ AND, OR, NOR, NOT
Note: This will require additional time.
The pupils who enjoyed this lesson might be interested in exploring these career pathways:
- Information Technology (Computer Programming)
- Information Technology (IT Applications)
- Information Technology (Oracle/Database Programming)
- Information Technology (Web Design)
The pupils will:
- Explore compound conditional programming
LEGO® Education SPIKE™ Prime Set
CAS Computing Progression Pathways
Uses diagrams to express solutions. (AB)
Programming and Development:
Uses a range of operators and expressions e.g. Boolean, and applies them in the context of program control. (AL)
Programming and Development:
Knows that computers collect data from various input devices, including sensors and application software. (AB)
Recognises ethical issues surrounding the application of information technology beyond school.
Download, view or share the Student Worksheet as an HTML page or as a printable PDF.