Grade 3-8
Math & Coding
Math & Coding
Math is integral to coding. In creating code, students practice problem solving and get immediate feedback on their solutions. Coding also provides opportunities to visualize and build intuitive understandings of mathematical concepts such as:
Magnitude
Distance
Angles
Transformations
Coordinates
These visualizations and intuitions provide the cognitive hooks for the more formal math we teach in schools.
Creating Patterns - Dance Party (Code.org)
Students will use arrows to learn about patterns and how they can use patterns to create the code.
Teachers can integrate it with physical movements. They can increase the level of challenge through embedding different elements in their dance party.
Math Concepts: Patterning, Sequencing, Creating loops
Coding Concepts: sequential, concurrent repeating, and nested events
Creating Patterns using different Angles & Shapes
Code.org
- Teachers can use the resource to create complicated patterns using different angles and shapes. Then students can label their angles and shapes.
- Teachers can modify the activity according to the grade level of the students.
- Can be integrated with story writing.
Math Concepts: Patterning, Geometry (angles & shapes), Spatial reasoning, Problem-solving and creative thinking skills
Coding Concepts: sequential, concurrent repeating, and nested events
Creating Polygon Art
Lesson plan and starter codes (activity 1 and 2)
Video Resources:
Scratch Follow-a-long Guide: Stamping Patterns
Scratch - Drawing Polygons (Shapes)
Math concepts: Geometry and Patterning
Coding Concepts: Repetition, concurrent, sequential, Variable, User input, Operators, Loops, blocks
Exploring & Generalizing External Angles of Shapes
Students can explore drawing different regular polygons, learning about external angles. They can then try to generalize the rule to create a drawPolygon block (subprogram). This slide show demonstrates one approach to the lesson, but creating the subprogram can also be the rich assessment after exploring external angles more traditionally. (See the Coding in De-Streamed Grade 9 math workshop at our TechEd conference @ https://ontechedconf2021.weebly.com/secondary.html)
Math concepts: Geometry and Angles; reasoning and proving
Coding Concepts: Sequential, repetition, subprograms
Coin flipper - Probability
Students will use the starter code and follow the instruction in this video to create the coin flipper.
Video Resources:
How to make a coin flip in Scratch
Math concepts: Probability
Students can use probability models to make predictions about real-life events
Challenge: using multiple coins
Coding Concepts: Sequential, Variables, Operators, loops, blocks
Plotting coordinates
Students can use the x and y coordinates to place positive or negative numbers.
They can discuss and explore different types of graphs. They can also create a shape (see Create Polygon Art) and place it on given coordinates.
Game:
Students can plan the Guess the Coordinates game. It can be done by the teacher for the student or students can create their own games for other to play.
Math Concepts: Number sense, Geometry and Spatial sense, Teaching measurement (ex: move 1 cm)
Resources:
Scratch Lesson: The XY coordinate plane: Video, Webpage
Scratch Game! Guess the Coordinates (Video)
Coding Concepts: Repetition, Sequential