Mapping aids using output-directed programming increase novices’ performance in programming mobile robotic systems
Open Access
- 2 November 2025
- journal article
- research article
- Published by Springer Nature in Empirical Software Engineering
- Vol. 31 (1) , 1-57
Abstract
Context: Novices programming robotic systems’ behavior, like quadcopter missions, face several challenges and require adequate support to overcome initial barriers. One approach to support novices is to display multiple representations such as graphical previews along with the code editor. Such supportive representations, however, also pose challenges for novices: finding corresponding information in the code and in the preview. To facilitate this, mapping aids can be implemented to clarify the connections between code and preview and foster a deeper understanding. Using output-directed programming, that is, adding the ability to reverse expression evaluation in the domain-specific language, is a promising basis for easily creating and implementing mapping aids. Objective: We investigated, whether mapping aids based on output-directed programming can improve learning language semantics and overall program correctness and how these mapping aids support novices while implementing quadcopter missions. Method: In our study, we tested $$N=82$$ participants while interacting and learning in an online programming environment. Using our 2x2 between-subject design study, we investigated the effects of two mapping aids: highlighting (supports to find element-based connections in the environment) and dynamic linking (supports finding similarities on the semantic level of the content) on program correctness including a typical error, learning outcomes as well as traces of learning strategies. Results: While highlights were more helpful for implementing the quadcopter missions (mission 1: $$p=.008$$ **, $$\eta ^2_{\small \textit{partial}}=.091$$ ), dynamic linking improved learning outcomes on the comprehension ( $$F(1,75)=5.61$$ , $$p=.020$$ *, $$\eta ^2_{\small \textit{partial}} =.070$$ ) and application level ( $$F(1,75)=4.08$$ , $$p=.047$$ *, $$\eta ^2_{\small \textit{partial}} =.052$$ ). Traces of learning strategies were related to higher program correctness (organizing (changes in the preview)): $$r=.553$$ , $$p<.001$$ ***; elaborating (time engaging in the task)): $$r=.639$$ $$p<.001$$ ***) and higher learning outcomes (organizing: $$r=.400$$ , $$p<.001$$ ***; elaborating : $$r=.404$$ , $$p<.001$$ ***). Conclusions: Implementing mapping aids through output-directed programming supports novices in developing a better semantic understanding of the domain specific language. Depending on the program tasks, different mapping aids might be effective. Based on traces of learning strategies while programming, adaptive interactive programming environments might support users individually.
Keywords
Funding Information
- Universität Ulm
This publication has 71 references indexed in Scilit:
- Programming Nao as an Educational Agent: A Comparison Between Choregraphe and Python SDK2022
- Practicing Connections: A Framework to Guide Instructional Design for Developing Understanding in Complex DomainsEducational Psychology Review, 2020
- Cognitive load theory and educational technologyEducational Technology Research and Development, 2019
- Capturing temporal and sequential patterns of self-, co-, and socially shared regulation in the context of collaborative learningContemporary Educational Psychology, 2017
- Interactive elements for dynamically linked multiple representations in computer simulationsApplied Cognitive Psychology, 2011
- Examining trace data to explore self-regulated learningMetacognition and Learning, 2007
- The impact of intrinsic cognitive load on the effectiveness of graphical help for coherence formationComputers in Human Behavior, 2007
- Cognitive load and the format of instructional aids for coherence formationApplied Cognitive Psychology, 2006
- Background knowledge and the construction of a situational representation from a diagramEuropean Journal of Psychology of Education, 1996
- LEARNING STRATEGIES: AN OVERVIEW1988