Variables in Practice. An Observation of Teaching Variables in Introductory Programming MOOCs

Vivian Van Der Werf, Min Yi Zhang, Efthimia Aivaloglou, Felienne Hermans, Marcus Specht

Research output: Chapter in Book/Conference proceedings/Edited volumeConference contributionScientificpeer-review

1 Citation (Scopus)
119 Downloads (Pure)

Abstract

Motivation. Many people interested in learning a programming language choose online courses to develop their skills. The concept of variables is one of the most foundational ones to learn, but can be hard to grasp for novices. Variables are researched, but to our knowledge, few empirical observations on how the concept is taught in practice exist. Objective. We investigate how the concept of variables, and the respective naming practices, are taught in introductory Massive Open Online Courses (MOOCs) teaching programming languages. Methods. We gathered qualitative data related to variables and their naming from 17 MOOCs. Collected data include connections to other programming concepts, formal definitions, used analogies, and presented names. Results. We found that variables are often taught in close connection to data types, expressions, and program execution and are often explained using the 'variable as a box' analogy. The latter finding represents a stronger focus on 'storing values', than on naming, memory, and flexibility. Furthermore, MOOCs are inconsistent when teaching naming practices. Conclusions. We recommend teachers and researchers to pay deliberate attention to the definitions and analogies used to explain the concept of variables as well as to naming practices, and in particular to variable name meaning.

Original languageEnglish
Title of host publicationITiCSE 2023 - Proceedings of the 2023 Conference on Innovation and Technology in Computer Science Education
PublisherAssociation for Computing Machinery (ACM)
Pages208-214
Number of pages7
ISBN (Electronic)9798400701382
DOIs
Publication statusPublished - 2023
Event28th Annual Conference on Innovation and Technology in Computer Science Education, ITiCSE 2023 - Turku, Finland
Duration: 8 Jul 202312 Jul 2023

Publication series

NameAnnual Conference on Innovation and Technology in Computer Science Education, ITiCSE
Volume1
ISSN (Print)1942-647X

Conference

Conference28th Annual Conference on Innovation and Technology in Computer Science Education, ITiCSE 2023
Country/TerritoryFinland
CityTurku
Period8/07/2312/07/23

Keywords

  • analogies
  • naming practices
  • programming education
  • variables

Fingerprint

Dive into the research topics of 'Variables in Practice. An Observation of Teaching Variables in Introductory Programming MOOCs'. Together they form a unique fingerprint.

Cite this