Learn to Code Course

Grade 4 Lesson 1 Into Cyberspace
9-10
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
9-10
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
9-10
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
9-10
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
9-10
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
9-10
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
9-10
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
9-10
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
9-10
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
9-10
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 4 Overview
Download

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

Grade 4 Standards Alignment Map
Download

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

Grade 4 Bibliographies
Download

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

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.

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 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.

Grade 4 Glossary
Download

Key computing keywords and concepts covered in the Grade 4 Learn to Code Lessons.

Starter Lesson Bibliographies
Download

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