From Code to Concept: Evaluating Multiple Coordinated Views in Introductory Programming

\authororcid Naaz Sibia0000-0001-7628-7077, \authororcid Valeria Ramirez Osorio0009-0007-2320-7812, \authororcid Jessica Wen, \authororcid Rutwa Engineer0009-0003-4131-0996, \authororcid Angela Zavaleta Bernuy0000-0002-1228-5774, \authororcid Andrew Petersen0000-0003-1337-7985, \authororcid Michael · 2025

Read From Code to Concept: Evaluating Multiple Coordinated Views in Introductory Programming by \authororcid Naaz Sibia0000-0001-7628-7077, \authororcid Valeria Ramirez Osorio0009-0007-2320-7812, \authororcid Jessica Wen, \authororcid Rutwa Engineer0009-0003-4131-0996, \authororcid Angela Zavaleta Bernuy0000-0002-1228-5774, \authororcid Andrew Petersen0000-0003-1337-7985, \authororcid Michael (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2509-26466.txt.

Introduction

Naaz Sibia and co-authors test whether linked visual aids help beginners learn programming, in a 2025 study. New programmers often cannot picture how code runs, and large first courses mix students with very different backgrounds. The team built interactive views that combine live code, memory diagrams, and everyday analogies in sync. These were used across a twelve-week introductory Python course with eight hundred twenty-nine students.

Students who relied only on text explanations reported more mental effort right after tasks than those using the visual aids. Overall mental load, though, did not differ much between groups. The study weighs when multiple coordinated views help and when they may add clutter. Findings can guide teachers choosing tools for large, mixed classes.

Catalog record

CREATOR\authororcid Naaz Sibia0000-0001-7628-7077, \authororcid Valeria Ramirez Osorio0009-0007-2320-7812, \authororcid Jessica Wen, \authororcid Rutwa Engineer0009-0003-4131-0996, \authororcid Angela Zavaleta Bernuy0000-0002-1228-5774, \authororcid Andrew Petersen0000-0003-1337-7985, \authororcid Michael
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE80 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2509-26466

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

From Code to Concept: Evaluating Multiple Coordinated Views in Introductory Programming \authororcid Naaz Sibia0000-0001-7628-7077, \authororcid Valeria Ramirez Osorio0009-0007-2320-7812, \authororcid Jessica Wen, \authororcid Rutwa Engineer0009-0003-4131-0996, \authororcid Angela Zavaleta Bernuy0000-0002-1228-5774, \authororcid Andrew Petersen0000-0003-1337-7985, \authororcid Michael Liut0000-0003-2965-5302, \authororcid Carolina Nobre0000-0002-2892-0509 Abstract Novice programmers often struggle to understand how code executes and to form the abstract mental models necessary for effective problem-solving, challenges that are amplified in large, diverse introductory courses where students’ backgrounds, language proficiencies, and prior experiences vary widely. This study examines whether interactive, multi-representational visualizations, combining synchronized code views, memory diagrams, and conceptual analogies, can help manage cognitive load and foster engagement more effectively than single-visual or text-only approaches. Over a 12-week deployment in a high-enrollment introductory Python course ( N = 829 N=829 ), students who relied solely on text-based explanations reported significantly higher immediate mental effort than those using visual aids, although overall cognitive load did not differ significantly among conditions. The multi-representational approach consistently yielded higher engagement than both single-visual and text-only methods. Usage logs indicated that learners’ interaction patterns varied with topic complexity, and predictive modeling suggested that early experiences of high cognitive load were associated with lower longer-term perceptions of clarity and helpfulness. Individual differences, including language proficiency and prior programming experience, moderated these patterns. By integrating multiple external representations with scaffolded support adapted to diverse learner profiles, our findings highlight design considerations for creating visualization tools that more effectively support novices learning to program. \onlineid 0 \vgtccategory Research \vgtcpapertype Evaluation \authorfooter Naaz Sibia, Jessica Wen, Rutwa Engineer, Andrew Petersen, Michael Liut, and Carolina Nobre are with the University of Toronto. E-mail: {naaz.sibia, jessica.wen, rutwa.engineer, andrew.petersen, michael.liut}@utoronto.ca, [email protected]. Valeria Ramirez Osorio and Angela Zavaleta Bernuy are with McMaster University. E-mail: {ramirev, zavaleta}@mcmaster.ca. keywords Multiple Views, Program Visualization, Interactive Learning, Engagement, Cognitive Load 1 Introduction Novice programmers often struggle to comprehend and trace code execution, especially when they lack prior experience in abstract reasoning about how variables, memory, and control flow interact [ 47 , 40 ] . Although various visualization tools (e.g., Python Tutor) have been introduced to aid in understanding these details [ 21 ] , beginners still frequently report feeling overwhelmed, grappling with overly concrete memory diagrams, and failing to generalize to higher-level conceptual models [ 51 ] . These challenges arise in part because novices need to bridge abstract programming concepts and the concrete visualizations that illustrate runtime behavior. Merely showing memory layouts or step-by-step execution traces, while helpful for “seeing inside the black box” of code, may not alone foster the abstraction skills necessary for problem-solving [ 51 , 16 ] . Educational research has long emphasized the value of Multiple External Representations (MERs), distinct but complementary formats that support different aspects of conceptual understanding [ 3 ] . In mathematics and science domains, MERs are often scaffolded to guide learners from concrete depictions to more abstract generalizations, a strategy known as concreteness fading [ 41 , 5 ] . This coordination of representations can reduce cognitive load, enhance engagement, and facilitate transfer. To align with terminology in the visualization research community, we adopt the term Multiple Coordinated Views (MCVs) [ 49 ] to refer to our implementation of synchronized code, memory, and analogy views. MCVs are a well-established idiom in VIS, typically used to support exploratory data analysis or linked insight across views. Our use of MCVs extends this idiom into educational settings, where learners interact with tightly linked views designed to foster conceptual understanding. Where we reference prior theoretical work from education, we retain the MER terminology; however, throughout this paper, we describe our system and visual scaffolding approach as an MCV design. Despite the success of MERs and MCVs in their respective fields, programming education still lacks scalable, empirically evaluated tools that systematically integrate and coordinate these views. Most debugging or tracing tools rely on a single, detailed visual (e.g., stack frames) that may not adequately scaffold abstraction for novice learners [ 51 ] . Furthermore, how different visualization approaches affect cognitive load, engagement, and performance remains a critical question. Some studies suggest that interactive diagrams can reduce mental effort [ 13 ] , while others show that too much visual detail may overwhelm learners [ 3 ] . Engagement, essential for persistence in computing, may depend on the type of visual scaffolding, the learner’s background, and the complexity of topics covered [ 12 ] . Language barriers and prior programming experience may also mediate how students perceive and benefit from visualizations [ 22 ] . In response to these gaps, we conducted a 12-week field study in a high-enrollment introductory programming course at a research-intensive university in North America. We compared three conditions: (i) a Multiple Coordinated Views (MCV) condition with synchronized code, memory, and analogy views; (ii) a Single View condition using Python Tutor; and (iii) a Text-Only condition with written step-by-step explanations. Figure 1 illustrates these interfaces. We measured cognitive load, engagement, and usage patterns, and examined how learner characteristics, like prior experience and language proficiency, moderated these effects. Specifically, our study addresses the following research questions: RQ1. How do different representation types (Multiple Coordinated Views, Single Visual, Text Only) relate to novice programmers’ immediate mental effort, overall cognitive load, engagement, and performance in course assessments? RQ2. What learner- and task-related factors (e.g., prior experience, language barriers, complexity of code topics) moderate these effects, and how do they influence tool usage patterns over time? RQ3. In what ways do early struggles or successes with the assigned visualization condition shape students’ longer-term perceptions, including their final assessments of clarity and helpfulness? The main contribution of this work is a large-scale, empirical evaluation of an MCV interface in an authentic educational setting. Our findings show that coordinated visual scaffolds can reduce immediate mental effort and promote engagement, particularly among subgroups with lower prior experience or greater language barriers. We also identify how early experiences shape long-term perceptions of clarity and usefulness, offering generalizable design heuristics for educational visualization systems. The remainder of this paper is organized as follows. Section 2 surveys prior research on visualization, MERs, MCVs, cognitive load, and educational tools. Section 3 describes our study design and measures. Section 4 presents the results, followed by implications for VIS design and computing education in Section 5 . Figure 1 : Left: The Multiple Coordinated Views (MCV) tool integrating synchronized code, memory diagrams, and abstract analogies in a step-by-step trace. Right: Python Tutor (Single Visual condition), which provides a step-by-step execution trace with memory visualization. 2 Related Work 2.1 Theoretical Underpinnings: Visualization, MERs, and Cognitive Load Research in the learning sciences has long demonstrated that visual representations can reduce cognitive load and promote deeper conceptual understanding [ 25 , 37 ] . In the visualization (VIS) community, scholars have similarly highlighted how external or interactive visual artifacts can amplify cognition by offloading memory demands and enhancing pattern recognition [ 8 , 39 , 53 ] . According to Mnguni’s three-stage cognitive process of visualization , learners internalize visual information, conceptualize it by connecting it to prior knowledge, and then externalize their mental models via sketches or other outputs [ 37 ] . These stages underscore the importance of active engagement —for instance, generating personal annotations—and concept formation ,

Read the complete text