mlsanityData to 13 Oct 2026

AI-Generated Traces for Novice Programmers: Learning Effects and Learner Differences in a Multi-Institutional Study

arXiv 2606.03288 ↗First posted 2 Jun 2026cs.CY cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Introductory programming (CS1) courses often struggle to support students' understanding of program execution. While visualizations can make execution processes explicit, their effectiveness depends on design and context, and empirical evidence for AI-generated visualizations remains limited. We propose Generated Animated Traces (GATs), AI-generated, analogy-based, narrated animations that coordinate source code, execution state, and conceptual analogies. We conduct a study at two institutions in CS1 courses (Python, N=961; Java N=151) comparing GATs to textual explanations. We measure immediate learning performance and experience, end-of-course engagement and exam performance. Results show that GATs can yield selective benefits for immediate learning, but benefits are context-dependent and short-term. We observe that GATs' influence on performance is moderated by learner engagement profiles. This finding underscores the importance of personalized approaches.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 2 of its 49 references that are in the map. First posted on arXiv 2 Jun 2026.

Builds on

2 of 49 references.

References · 2

  1. 2024"Like a Nesting Doll": Analyzing Recursion Analogies Generated by CS Students using Large Language Modelscited by 5
  2. 2026ANVIL: Analogies and Videos for Lecturerscited by 1

Built on by

Not cited yet.