Computer Coding K8 en
Computer Coding K8 en
April 2017
Computer Coding in the K–8
Mathematics Curriculum?
By George Gadanidis, Western University; with Iain Brodie, Leslee Minniti,
Benefits of Coding and Bronna Silver, St. Andrews Public School, Toronto District School Board
Implications for Mathematics Education What is happening here mathematically? First, the concept
Below we describe three important ways the use of coding of square has been abstracted to its essential elements:
in mathematics teaching and learning can enhance student move 100 steps, turn 90°, repeat 4 times. Second, this
conceptual development. abstraction is conceptually robust as it represents all
squares, in the same way that the word cat represents all
1. Abstraction Made Tangible cats. We can edit the code to draw squares of different sizes,
At the heart of computational thinking – and mathematics – orientations, and colours. Third, this abstract version of a
is abstraction.5,6 We use abstraction naturally from a very square is tangible.8 It has been turned into a code block
young age as we develop language. For example, when we that can be moved, manipulated, and acted upon by other
come to understand cat, we look past all the differences code blocks.
among cats and create an abstract model of essential cat
characteristics. Isn’t it interesting that with computer coding we can
abstract mathematical concepts and at the same time
Let’s see how abstraction comes into play when we make them feel tangible? Such tangible abstractions help
use the blocks-based coding environment Scratch (see students with conceptual development.
scratch.mit.edu) to draw a square. Scratch was developed
in 2004 at MIT and its design is based on Logo and the This tangible quality can be enhanced when we use code
work of Papert.7 to “teach” programmable robots to perform mathematics
tasks. For example, children can write similar code to
We could code a square as shown in Figure 1. (The code instruct Sphero to walk a square. In simplest terms, Sphero
for our Scratch examples is available at scratch.mit.edu/ is a robot on wheels trapped inside a spherical shell. It
projects/115404418/#editor for you to use, edit, experiment moves in the same way as a hamster ball (see sphero.com)
with, and share with others.) We could also accomplish this and can be coded using a smart phone or tablet
task by defining draw square as its own code block and application.
using it when needed (see Figure 2). Creating a new code
block to replace a group of code blocks is especially useful Such experiences help address Ontario curriculum
when we write more complex code. expectations in both Geometry and Spatial Sense (“describe,
sort, classify, build, and compare two-dimensional shapes”
Figure 1. Draw a square with Scratch. Figure 2. Adding a draw square code block
References
1. Kitchener Post (2016). Google opens its doors on Breithaurt; PM 6. Aho, A.V. (2012) Computation and computational thinking.
Trudeau takes part. Retrieved from http://www.kitchenerpost.ca/ Computer Journal, 55, 832–835.
news-story/6240341-google-opens-its-doors-on-breithaupt-pm- 7. Logo History. Retrieved from http://el.media.mit.edu/logo-
trudeau-takes-part/ foundation/what_is_logo/history.html
2. Wing, J. M. (2006). Computational thinking. Communications of 8. Gadanidis, G. (2017 in press). Five affordances of computational
the ACM, 49(3), 33–35. thinking to support elementary mathematics education. Journal
3. Papert, S. (1980). Mindstorms: Children, computers, and powerful of Computers in Mathematics and Science Teaching 36(2), 143–151.
ideas. New York: Basic Books. 9. Ontario Ministry of Education (2005). The Ontario Curriculum
4. Grover, S. and Pea, R. (2013. Computational thinking in K–12: A Grades 1-8: Mathematics. Toronto, ON: Queen’s Printer for Ontario.
review of the state of the fields. Educational Researcher, 42(1), 38–43. 10. Ontario Ministry of Education (2016). The Kindergarten Program.
5. Wing, J. M. (2008). Computational thinking and thinking about Toronto, ON: Queen’s Printer for Ontario.
computing. Philosophical Transactions of the Royal Society A,
366(1881), 3717–3725.
What Works? Research into Practice is produced by a The opinions and conclusions contained in these
partnership between the Ontario Association of Deans monographs are those of the authors and do not
of Education and the Student Achievement Division. necessarily reflect the policies, views, or directions
of the Ontario Ministry of Education or the Student
To learn more about how to write a monograph click here Achievement Division.
Mobilizing Research into Practice in Meaningful Ways
By Dr. Michelann Parr and Dr. Terry Campbell Co-editors ISSN 1913-1097 What Works? Research Into Practice (Print)
ISSN 1913-1100 What Works? Research Into Practice (Online)
What Works? is updated and posted at: www.edu.gov.on.ca/
eng/literacynumeracy/inspire/research/WhatWorks.html