Learn to Code Course

Learn to Code - Full Course
Download

Download all Lesson Packs, Standards Alignment Maps, Grade Overviews and supporting documents for the Learn to Code course.

Starter Lesson 1: Sam and Cyberspace
Download

This lesson will introduce our character Sam and the missions she is sent on which form the link
between lessons. Students will be introduced to Cyberspace where Sam finds herself; the villain
she encounters and the Cyber Scanner she uses. Her Cyber Scanner, we learn, holds the micro:bit and the three SAM Labs hardware blocks that students will be using.

Starter Lesson 2: Workbench
Download

This lesson will introduce ‘Blockly’ — the block-based coding software, and Workbench
— the platform that allows block-based programs to be built. Students will learn how to
create a program on Workbench and extend their learning through differentiated Chili
Challenges.

Starter Lesson 3: SAM Labs
Download

This lesson will introduce the SAM Labs hardware blocks. Students will connect the
Light Sensor to Workbench, learning how to use the programming blocks linked to the
Light Sensor. Students will be introduced to the key computing terms ‘event’ and ‘action’.

The lesson will extend understanding to programming the output to show the change in light detected by the Light Sensor. Differentiated Chili Challenges extend students’ learning further.

Starter Lesson 4: micro:bit
Download

This lesson will introduce the micro:bit. Students will learn how to connect the micro:bit
to Workbench, learning how to program a simple output. They will build a program
that displays both an image and text on the micro:bit. Students will also learn how to
change settings within blocks. The key computing terms ‘ event ’ and ‘ action ’ will be
reinforced. Differentiated Chili Challenges extend students’ learning.

Starter Lesson Guidance
Download

This document provides an overview of the four Starter Lessons that introduce the key elements of the Learn to Code course (SAM Labs blocks, micro:bit, Workbench and the storyline of the course character Sam).

Starter Lesson Bibliographies
Download

References for third party images included in the Learn to Code Starter Lessons.

Grade 4 Lesson 1 Into Cyberspace
Download

During this lesson, students will gain an understanding of what an algorithm is and the characteristics of a
well-designed algorithm. They will integrate and exhibit learning by helping Sam turn on and code a start-up
sequence for her Cyber Scanner.

Grade 4 Lesson 2 Sensing Danger
Download

During this lesson, students will gain an understanding of what a loop is and the characteristics of a loop.
They will integrate and exhibit learning by helping Sam code a program using the Light Sensor to detect danger.

Grade 4 Lesson 3 Choose the Bright Path
Download

During this lesson, students will gain an understanding of what a variable is and how to name and use a
variable effectively. They will integrate and exhibit learning by helping Sam create a program to choose
the Cyberspace path with the most light.

Grade 4 Lesson 4 Danger Detected
Download

During this lesson, students will gain an understanding of what selection is and how to use selection effectively
within a program. They will integrate and exhibit learning by helping Sam create a program to identify the
danger that has been detected.

Grade 4 Lesson 5 Error Detected
Download

During this lesson, students will gain an understanding of what debugging is and how it is an integral part
of programming. They will integrate and exhibit learning by helping Sam debug and fix the program code
she's been given.

Grade 4 Lesson 6 Countdown
Download

During this lesson, students will gain an understanding of what commenting within code is used for
and how it is an integral part of programming. They will integrate and exhibit learning by helping Sam
create a program that will display a countdown.

Grade 4 Lesson 7 Password Protect
Download

During this lesson, students will gain an understanding of why it is important to protect personal
information online. They will integrate and exhibit learning by helping Sam code a program that
will generate a random secure password to protect the data on her Cyber Scanner.

Grade 4 Lesson 8 Hidden Code
Download

During this lesson, students will gain an understanding of how data is sent and received securely
and how encryption supports this. They will integrate and exhibit learning by coding a program
to help Sam send and receive encrypted messages.

Grade 4 Lesson 9 Test the Range
Download

During this lesson, students will gain an understanding of what the ‘digital divide’ is and its impact.
They will integrate and exhibit learning by helping Sam test the pitch range of the Buzzer, comparing
tasks completed both with and without digital technology.

Grade 4 Lesson 10 Threat Attack
Download

During this lesson, students will gain an understanding of potential online threats and malware.
They will integrate and exhibit learning by helping Sam code a program that will report threat attacks.

Grade 5 Lesson 1 Unmasked
Download

During this lesson, students will gain an understanding of what the Internet is and how the location of a
device online is identified. They will integrate and exhibit learning by helping Sam reveal the villain
controlling the evil minion bots.

Grade 5 Lesson 2 Find the Minion
Download

During this lesson, students will gain an understanding of what data is and how to organize it into data sets
to aid understanding. They will integrate and exhibit learning by helping Sam organize and use the data she
finds to locate an evil minion bot.

Grade 5 Lesson 3 Stop the Minion
Download

During this lesson, students will gain an understanding of how anti-virus software works by scanning
for incorrect code that could be viruses. They will integrate and exhibit learning by helping Sam ‘deliver’
an anti-virus software to stop an evil minion bot virus.

Grade 5 Lesson 4 System Check
Download

During this lesson, students will gain an understanding of how a computer utilizes the
‘input–process–output’ model. They will integrate and exhibit learning by helping Sam test all elements
of her Cyber Scanner to detect if there is a virus.

Grade 5 Lesson 5 Can I use it?
Download

During this lesson, students will gain an understanding of copyright and its implications.
They will integrate and exhibit learning by creating a program that asks questions to help
Sam determine if the material she has found is copyright or free to use.

Grade 5 Lesson 6 Flare Alert
Download

During this lesson, students will gain an understanding of how a color code is used in digital technology.
They will integrate and exhibit learning by creating a program that uses color codes to create a color
sequence in order to help Sam alert Mission Control to her location.

Grade 5 Lesson 7 Back It Up
Download

During this lesson, students will gain an understanding of how to secure data through backups
and the difference between USB and cloud storage methods. They will integrate and exhibit
learning by helping Sam create a program to store data and restore it to a backup if an error occurs.

Grade 5 Lesson 8 Packet Delivery
Download

During this lesson, students will gain an understanding of how information is sent over the Internet
in individual packets which are reassembled on arrival. They will integrate and exhibit learning by
helping Sam break a message down into packets then output it on her Cyber Scanner and the Console.

Grade 5 Lesson 9 Adaptability
Download

During this lesson, students will gain an understanding of how technology can be adapted
to accommodate abilities and disabilities. They will integrate and exhibit learning by helping
Sam use her Cyber Scanner to alert her when danger is blocking her path.

Grade 5 Lesson 10 Communication
Download

During this lesson, students will gain an understanding of how email works.
They will integrate and exhibit learning by helping Sam create the protocols
for sending and receiving an important email.

Grade 6 Lesson 1 Go with the Flow
Download

During this lesson, students will gain an understanding of flowcharts, their symbols
and how they can be used in the planning stages of a program. They will integrate
and exhibit learning by helping Sam create a program using a flowchart.

Grade 6 Lesson 2 Secret Movement
Download

During this lesson, students will gain an understanding of different data types. They will integrate
and exhibit learning by helping Sam to track the movement of the evil villain M.A.S.

Grade 6 Lesson 3 Secret Melody
Download

During this lesson, students will gain an understanding of what a list is and how it is used in
a computer program. They will integrate and exhibit learning by helping Sam create and add
to a list of pitch values to be played on the Buzzer.

Grade 6 Lesson 4 Containing M.A.S.
Download

During this lesson, students will gain an understanding of what a function is and how functions
are used in computer programs. They will integrate and exhibit learning by helping Sam create
a way of containing the evil villain M.A.S. via a ‘door’ which opens and closes.

Grade 6 Lesson 5 Logical Next Steps
Download

During this lesson, students will gain an understanding of what Boolean logical operators
are and how to use them. They will integrate and exhibit learning by helping Sam create an
alarm system that will be activated by either or both of the micro:bit buttons.

Grade 6 Lesson 6 Is It Fake?
Download

During this lesson, students will gain an understanding of how to identify an unreliable website.
They will integrate and exhibit learning by helping Sam create a program to count the number
of unreliable aspects found and stop Sam from continuing when three have been found.

Grade 6 Lesson 7 Stay Connected
Download

During this lesson, students will gain an understanding of types of network and the different
ways a device can be connected to a network; the topologies. They will integrate and exhibit
learning by helping Sam create a program that will demonstrate the star network topology.

Grade 6 Lesson 8 Follow the Rules
Download

During this lesson, students will gain an understanding of what a protocol is and how they are used. They
will integrate and exhibit learning by helping Sam create a program to help identify a secure website.

Grade 6 Lesson 9 Trust Your Senses
Download

During this lesson, students will gain an understanding of the differences between robotics and
artificial intelligence. They will integrate and exhibit learning by helping Sam create a program
that uses the Light Sensor to detect and alert that the evil villain M.A.S. is approaching.

Grade 6 Lesson 10 It’s all 0’s and 1’s
Download

During this lesson, students will gain an understanding of what binary is and how to convert binary to
denary. They will integrate and exhibit learning by helping Sam create a program that stores a string of
binary bits and displays them on a second micro:bit as one binary number.

Grade 7 Lesson 1 2 Test or not 2 Test
Download

During this lesson, students will gain an understanding of effective testing and how it is used in programming.
They will integrate and exhibit learning by helping Sam create a program that tests the micro:bit LEDs and
testing effectively that everything works correctly.

Grade 7 Lesson 2 Roll of the Dice
Download

During this lesson, students will gain an understanding of how pair programming is used and its benefits.
They will integrate and exhibit learning by working in a pair programming environment to create a
program that will simulate the rolling of a die.

Grade 7 Lesson 3 Keep it Safe
Download

During this lesson, students will gain an understanding of security measures to secure computing devices
from unauthorized access. They will integrate and exhibit learning by helping Sam create a program that
only grants access with the correct code and locks the user out after three incorrect attempts.

Grade 7 Lesson 4 Convert to Move
Download

During this lesson, students will gain an understanding of what hex is and how to convert from denary or
binary to hex. They will integrate and exhibit learning by helping Sam create a program that will convert
two denary numbers to an eight-bit binary number and a two-character hex code.

Grade 7 Lesson 5 Rock, Paper, Scissors
Download

During this lesson, students will gain an understanding of what a compound conditional is and
how to use it effectively in programming. They will integrate and exhibit learning by helping Sam
create a program that simulates a game of ‘Rock, Paper, Scissors’.

Grade 7 Lesson 6 Too Many 2 Count
Download

During this lesson, students will gain an understanding of how surveys can be used to gather useful data.
They will integrate and exhibit learning by helping Sam create a program that will help count evil minion
bots and calculate the average number in the area.

Grade 7 Lesson 7 20 Questions
Download

During this lesson, students will gain an understanding of the importance of user testing to highlight errors
and recommend improvements to a program. They will integrate and exhibit learning by helping Sam create
a program that simulates a game of ‘20 Questions’.

Grade 7 Lesson 8 In Disguise
Download

During this lesson, students will gain an understanding of online safety and how not everyone is
who they say they are online. They will integrate and exhibit learning by helping Sam create a
program to reveal the true identity of M.A.S. in disguise.

Grade 7 Lesson 9 Transmit Directions
Download

During this lesson, students will gain an understanding of the benefits of transmitting data over a
wireless network compared to a wired network. They will integrate and exhibit learning by helping
Sam create a program to transmit directions from one micro:bit to another.

Grade 7 Lesson 10 Inner Workings
Download

During this lesson, students will gain an understanding of the fetch–decode–execute cycle and
how the CPU works. They will integrate and exhibit learning by helping Sam create a program
that represents the inner workings of a CPU (central processing unit).

Grade 8 Lesson 1 No Place To Hide
Download

During this lesson, students will gain an understanding of how textual programming can be developed.
They will integrate and exhibit learning by helping Sam create a program in block-based coding and
compare it to the programming languages of Python and JavaScript.

Grade 8 Lesson 2 Phishing Expedition
Download

During this lesson, students will gain an understanding of what phishing is, the associated risks and
how to identify a phishing email. They will integrate and exhibit learning by helping Sam create a program
that alerts her when she has received a phishing email and when her personal data has been cloned.

Grade 8 Lesson 3 Time Loop
Download

During this lesson, students will gain an understanding of what a nested loop is and how to use it effectively
within a program. They will integrate and exhibit learning by helping Sam create a program that represents a
time loop and utilizes a nested loop to represent escaping.

Grade 8 Lesson 4 Double Check
Download

During this lesson, students will gain an understanding of how to add two binary numbers together.
They will integrate and exhibit learning by helping Sam create a program that converts binary numbers
to denary as a way of double checking the answer of a binary addition.

Grade 8 Lesson 5 Hidden Number
Download

During this lesson, students will gain an understanding of negation and its use in programming.
They will integrate and exhibit learning by helping Sam create a program that guesses a hidden number.

Grade 8 Lesson 6 Encrypt and Decrypt
Download

During this lesson, students will gain an understanding of methods of encryption, focusing on the
Caesar Cipher. They will integrate and exhibit learning by helping Sam create a program that encrypts
and decrypts given text, demonstrating the Caesar Cipher.

Grade 8 Lesson 7 Pixels
Download

During this lesson, students will gain an understanding of how digital images are made up
of pixels and can be represented using binary. They will integrate and exhibit learning by helping
Sam create a program that links a spreadsheet to Workbench in order to output a binary image
on the micro:bit display.

Grade 8 Lesson 8 Search and Locate
Download

During this lesson, students will gain an understanding of searching algorithms; linear and binary.
They will integrate and exhibit learning by helping Sam create programs that demonstrate binary
and linear searching algorithms.

Grade 8 Lesson 9 Sorted
Download

During this lesson, students will gain an understanding of two types of sorting algorithms;
insertion sort and bubble sort. They will integrate and exhibit learning by helping Sam create
a program that demonstrates a bubble sort on given data.

Grade 8 Lesson 10 Catch and Destroy
Download

During this lesson, students will gain an understanding of what crowdsourcing is and how it
can enhance the working environment. They will integrate and exhibit learning by helping Sam
create a program that captures and defeats the evil villain M.A.S. once and for all. Discussing
development of the program as a class will demonstrate crowdsourcing.

Get Started with micro:bit
Download

A guide to setting up the micro:bit, a pocket-sized programmable computer that is incorporated into
the Learn to Code course alongside SAM Labs Blocks.

Quick Guide for 3D printing - Sam's Cyber Scanner
Download

Teachers can use this Quick Guide to support students to create Sam’s Cyber Scanner
using a 3D printer. Includes link to our ready-to-go 3D model file.

Grade 4 Overview
Download

Overview of lesson content and standards alignment for Grade 4 Learn to Code.

Grade 4 Medium-Term Planning
Download

Standards coverage, learning objectives, keywords and program code for all lessons in Grade 4 of the Learn to Code Course.

Grade 4 Answer Pack for Mission Journal Planning
Download

Model answers to the Planning section of the student Mission Journal in each Grade 4 lesson,
where students write pseudocode to plan part or all of their program.

Grade 5 Overview
Download

Overview of lesson content and standards alignment for Grade 5 Learn to Code.

Grade 5 Medium-Term Planning
Download

Standards coverage, learning objectives, keywords and program code for each lessons in Grade 5 of the Learn to Code Course.

Grade 5 Answer Pack for Mission Journal Planning
Download

Model answers to the Planning section of the student Mission Journal in each Grade 5 lesson,
where students write pseudocode to plan part or all of their program.

Grade 6 Overview
Download

Overview of lesson content and standards alignment for Grade 6 Learn to Code.

Grade 6 Medium-Term Planning
Download

Standards coverage, learning objectives, keywords and program code for each lessons in Grade 6 of the Learn to Code Course.

Grade 6 Answer Pack for Mission Journal Planning
Download

Model answers to the Planning section of the student Mission Journal in each Grade 6 lesson,
where students write pseudocode to plan part or all of their program.

Grade 7 Overview
Download

Overview of lesson content and standards alignment for Grade 7 Learn to Code.

Grade 7 Medium-Term Planning
Download

Standards coverage, learning objectives, keywords and program code for each lessons in Grade 7 of the Learn to Code Course.

Grade 7 Answer Pack for Mission Journal Planning
Download

Model answers to the Planning section of the student Mission Journal in each Grade 7 lesson,
where students write pseudocode to plan part or all of their program.

Grade 8 Overview
Download

Overview of lesson content and standards alignment for Grade 8 Learn to Code.

Grade 8 Medium-Term Planning
Download

Standards coverage, learning objectives, keywords and program code for each lessons in Grade 8 of the Learn to Code Course.

Grade 8 Answer Pack for Mission Journal Planning
Download

Model answers to the Planning section of the student Mission Journal in each Grade 8 lesson,
where students write pseudocode to plan part or all of their program.

Grade 4 Standards Alignment Map
Download

Standards alignment for Grade 4 Learn to Code lessons to the CSTA K–12 Computer Science Standards.

Grade 5 Standards Alignment Map
Download

Standards Alignment for Grade 5 Learn to Code lessons to the CSTA K–12 Computer Science Standards.

Grade 6 Standards Alignment Map
Download

Standards Alignment for Grade 6 Learn to Code lessons to the CSTA K–12 Computer Science Standards.

Grade 7 Standards Alignment Map
Download

Standards Alignment for Grade 7 Learn to Code lessons to the CSTA K–12 Computer Science Standards.

Grade 8 Standards Alignment Map
Download

Standards Alignment for Grade 8 Learn to Code lessons to the CSTA K–12 Computer Science Standards.

Learn to Code Glossary
Download

Explains and gives a real-world application for each key computing word and concept from the Course. Also includes an interactive matching activity.

Grade 4 Bibliographies
Download

References of third party material in Grade 4 Learn to Code Lessons.

Grade 4 Cyberwire
Download

Grade 5 Cyberwire
Download