Using Elm to Introduce Algebraic Thinking to K-8 Students

05/14/2018
by   Curtis d'Alves, et al.
0

In recent years, there has been increasing interest in developing a Computer Science curriculum for K-8 students. However, there have been significant barriers to creating and deploying a Computer Science curriculum in many areas, including teacher time and the prioritization of other 21st-century skills. At McMaster University, we have developed both general computer literacy activities and specific programming activities. Integration of these activities is made easy as they each support existing curricular goals. In this paper, we focus on programming in the functional language Elm and the graphics library GraphicSVG. Elm is in the ML (Meta Language) family, with a lean syntax and easy inclusion of Domain Specific Languages. This allows children to start experimenting with GraphicSVG as a language for describing shape, and pick up the core Elm language as they grow in sophistication. Teachers see children making connections between computer graphics and mathematics within the first hour. Graphics are defined declaratively, and support aggregation and transformation, i.e., Algebra. Variables are not needed initially, but are introduced as a time-saving feature, which is immediately accepted. Since variables are declarative, they match students' expectations. Advanced students are also exposed to State by making programs that react to user taps or clicks. The syntax required to do so closely follows the theoretical concepts, making it easy for them to grasp. For each of these concepts, we explain how they fit into the presentations we make to students, like the 5200 children taught in 2016. Finally, we describe ongoing work on a touch-based Elm editor for iPad, which features (1) type highlighting (as opposed to syntax highlighting), (2) preservation of correct syntax and typing across transformations, (3) context information (e.g. displaying parameter names for GraphicSVG functions), and (4) immediate feedback (e.g. restarting animations after every program change).

READ FULL TEXT

page 12

page 16

research
07/16/2020

Accessible Computer Science for K-12 Students with Hearing Impairments

An inclusive science, technology, engineering and mathematics (STEM) wor...
research
02/09/2023

COOLIO: A Language Support Extension for the Classroom Object Oriented Language

COOL is an Object-Oriented programming language used to teach compiler d...
research
04/28/2020

Ethnic Diversity in Computer Science at a Large Public R1 Research University

Even with recent increases in enrollments, computer science departments ...
research
02/24/2007

Recruitment, Preparation, Retention: A case study of computing culture at the University of Illinois at Urbana-Champaign

Computer science is seeing a decline in enrollment at all levels of educ...
research
02/18/2022

Figuring and Drawing: A Visual Approach to Principled Programming

A standing challenge in undergraduate Computer Science curricula is the ...
research
10/24/2017

First Programming Language: Visual or Textual?

In modern day society, the ability to code is a highly desirable skill. ...
research
08/06/2021

Learning Activities in Colours and Rainbows for Programming Skill Development

We present how we have created a series of bilingual (English and Welsh)...

Please sign up or login with your details

Forgot password? Click here to reset