Recursion in Secondary Computer Science Education: A Comparative Study of Visual Programming Approaches
Open Access
- 7 March 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1321-1327
Abstract
While recursion is a fundamental technique in computer programming, it is challenging for novices, for example since it requires tracing non-linear and hierarchical sequences of execution. Though algorithm visualizations and visual programming may be helpful, such tools need to offer sufficiently expressive environments that support active, constructivist learning via exploration and experimentation. In this study, we investigated whether Algot, a visual programming language that relies on a novel programming-by-demonstration paradigm, is effective for teaching recursion to 14-17 year old students, and whether it compares favorably to the popular visual programming language Scratch. We conducted an experimental study with 23 participants where they learned recursion in a video tutorial using Algot and Scratch, worked out code exercises in each respective language, and then solved a post-test on recursion. Despite the participants being more familiar with Scratch than Algot, our results indicated that students instructed with Algot demonstrated a significantly better understanding of recursion (Bayes Factor = 14.09, p = 0.005, Cohen's d = 1.30). We also found that students reported a similar level of enjoyment of each language. These findings provide preliminary evidence about the effectiveness of the programming-by-demonstration paradigm, as implemented in Algot, in aiding the comprehension of complex programming concepts like recursion.Keywords
This publication has 23 references indexed in Scilit:
- Algot: An Educational Programming Language with Human-Intuitive Visual Syntax2021
- Reflective abstraction in computational thinkingThe Journal of Mathematical Behavior, 2017
- A basic recursion concept inventoryComputer Science Education, 2017
- Nothing to Fear but Fear Itself: Introducing Recursion in Lower Secondary Schools2017
- Defining Procedures in Early Computing Education2017
- First year students' understanding of the flow of control in recursive algorithmsAfrican Journal of Research in Mathematics, Science and Technology Education, 2012
- A Tangible Interface for Learning Recursion and Functional Programming2010
- A conceptual approach to teaching induction for computer scienceACM SIGCSE Bulletin, 2008
- How Learning Logic Programming Affects Recursion ComprehensionComputer Science Education, 2004
- Bayes FactorsJournal of the American Statistical Association, 1995