mBot F3 - Variables: Introduction to Variables
Description
Concepts: Students are introduced to the concept of variables in programming.Activity: Students create a program that uses Event blocks to initialize and change the value of a variable. Students will use the variable to represent the amount of time that the mBot drives forward in a game of Robot Target Practice.
Objectives
1. For students to understand the definition and utility of variables in computer programming
2. For students to practice creating, initializing, and changing variables in mBlock
3. For students to use variables in a practical and fun robotic game
Curriculum Connections Summary
- Ontario - Mathematics - Algebra (Coding)
- British Columbia - ADST
- Alberta - ICT
- Nova Scotia - ICT
Find Out More
mbot is the best of both worlds, transitioning students from Scratch Blocks to Text Code