Dash & Dot: Introduction to Variables in Programming (Gr. 4-5)
Being able to recognize and analyze patterns is an important skill when learning to program. In this lesson, students will learn how variables can be used to program patterns.
Recognize that a pattern follows a rule.
Identify apparent features of the pattern that are not explicit in the rule itself.
Understand that a variable is a value that can change.
- Identify the rule for a pattern.
- Class 1: Patterns and Variables (30 - 40 minutes)
- Class 2: A Personal Understanding of Variables (20 minutes)
- Class 3: Programming Challenge (30 - 40 minutes)
Curriculum Connections Summary
- Ontario - Mathematics - Algebra (Coding)
- Quebec - Mathematics
- New Brunswick - Mathematics
- Nova Scotia - Mathematics & ICT
- Alberta - Mathematics & ICT/CTF
- British Columbia - Mathematics & ADST
- Manitoba - Mathematics
- Prince Edward Island - Mathematics
- Saskatchewan - Mathematics
- Newfoundland & Labrador - Mathematics
- Yukon Territories - Follow's B.C.'s Curriculum
- Northwest Territories - Follows Alberta's Curriculum
- Nunavut - Follows Alberta's Curriculum
Robots and Accessories
- Introduction to Variables Presentation
- Pattern recording sheet
- Projector or print-outs of Blockly code from Part A
- Projector or print-outs of Blockly code from Part B
- 2 Boxes per group
- Objects to be used as counters like marbles, paper clips, or pieces of paper
- Tablets - (See Compatible Devices)