Title
Variables in Practice. An Observation of Teaching Variables in Introductory Programming MOOCs
Author
van der Werf, V. (TU Delft Web Information Systems; Universiteit Leiden)
Zhang, Min Yi (Universiteit Leiden)
Aivaloglou, E.A. (TU Delft Web Information Systems)
Hermans, Felienne (Vrije Universiteit Amsterdam)
Specht, M.M. (TU Delft Web Information Systems)
Date
2023
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.
Subject
analogies
naming practices
programming education
variables
To reference this document use:
http://resolver.tudelft.nl/uuid:367cb49a-c08f-439e-a51c-b859e9e5e0dd
DOI
https://doi.org/10.1145/3587102.3588857
Publisher
Association for Computing Machinery (ACM)
ISBN
9798400701382
Source
ITiCSE 2023 - Proceedings of the 2023 Conference on Innovation and Technology in Computer Science Education
Event
28th Annual Conference on Innovation and Technology in Computer Science Education, ITiCSE 2023, 2023-07-08 → 2023-07-12, Turku, Finland
Series
Annual Conference on Innovation and Technology in Computer Science Education, ITiCSE, 1942-647X, 1
Part of collection
Institutional Repository
Document type
conference paper
Rights
© 2023 V. van der Werf, Min Yi Zhang, E.A. Aivaloglou, Felienne Hermans, M.M. Specht