Grade 2: "Coding on a Grid"
(From: Mathology)
On a computer? Click "file" then "make a copy" to save and make changes.
On an iPad? Select the 3 dots in the top right hand corner. "Share and Export" then "Make a Copy".
This Mathology lesson plan can be accessed in both English and French by logging into your Mathology.ca/Mathologie.ca account and searching for "Geometry Activity 23: Coding: Coding on a Grid"
Writing codes for movements on a grid
C3. Coding: solve problems and create computational representations of mathematical situations using coding concepts and skills
• Coding Skills: C3.1 solve problems and create computational representations of mathematical situations by writing and executing code, including code that involves sequential and concurrent events
Objects can be located in space and viewed from multiple perspectives
Numbers tell us how many and how much
A grid can help us write a code to move from Start to Finish.
We use arrows to represent movement from one square to the next.
Master 61: 4 X 4 Grid (for Before)
Master 62: Grid A
Master 63: Grid B
Master 64: Cutouts
Master 65: Assessment
(All Line Masters can be accessed by logging into your Mathology / Mathologie account)
Code
Path
Grid
Count
Different
Arrow
Compare
Opposite way
Visualize
Students may benefit from prior experience with:
giving directions
using positional language (right, left, up, down)
counting on a grid
Show Master 61. Write “Start” and “Finish” in two squares. Say: “We can only move up, down, right, and left. How can we write a code to take us from Start to Finish?”
Focus on counting steps from one square to the next. Draw an arrow to represent each step.
Ask, “Is there a different code we could write?” Discuss how the grid helps us write code.
Give each pair two copies of Grid A (Master 62), a copy of Grid B (Master 63), and cutouts from Master 64.
Part 1: Use Grid A.
Each of you put arrows below the grid to write a code to move from Start to Finish. Compare codes. What do you notice?
Part 2:
Player A: Put Start and Finish cutouts in any squares on Grid B.
Player B: Write a code to move from Start to Finish by putting arrows below the grid to represent the steps in the path.
Player A: Check the code.
Switch roles and repeat the activity.
Play again. This time, Player B looks at the grid and takes a mental picture of it, and then writes the code without looking at the grid.
Teacher Moves
Probing Questions:
What is your first step? Could you have used a different first step?
What would happen if this arrow pointed the opposite way?
How did you write a code without looking? What did you visualize?
How do you know if the code is correct?
Do students find it easier to write a code or read a code?
Do students count squares or steps from square to square?
Are students able to write accurate codes?
What strategies do students use to write a code from memory (e.g., focusing on an image of the grid or visualizing movements on the grid)?
Have students share some of the codes they created for different positions of Start and Finish on Grid B. Briefly discuss that there may be more than one code for each grid.
Ensure students understand that the codes should focus on movement from square to square, not on counting squares.
Have volunteers share strategies they used to visualize the grid in their minds and to write code from memory.
Ask: “Is it easier to write code or to read code? Why?”
Highlight for Students
A grid can help us write a code to move from Start to Finish.
We use arrows to represent movement from one square to the next.
Accommodations: Place arrows on the grid to show the steps.
Extension: Students write multiple codes for the same grid.
Combined Grades Extension: Students write a code to create a simple shape on a grid, and partners use the code to create the shape.
All assessments, in the moment feedback/prompts, and independent tasks can be accessed by logging into your Mathology/Mathologie account.
SEL Self-Assessments (English) and Teacher Rubric
Log in to your Mathology.ca / Mathologie.ca account to access Intervention and Extension activities, Professional Learning Videos and Assessment tools.
If you require support logging into your Mathology/Mathologie account, please contact Kerry Stack or Erica Doucet.