Task Synthesis for Elementary Visual Programming in XLogoOnline Environment
Chao Wen, Ahana Ghosh, Jacqueline Staub, Adish Singla
TL;DR
This paper tackles the scarcity of practice tasks in XLogoOnline's Mini level by introducing XLogoSyn, a framework for generating high-quality, difficulty-controlled tasks from a reference task. It employs a three-stage pipeline: (i) template- and SMT-guided generation of code, constraints, and goals with difficulty control; (ii) symbolic execution to craft a compatible grid world and SMT-based element placement; and (iii) a multi-criteria scoring rubric to ensure task quality. Expert evaluation shows XLogoSyn approaches expert-crafted task quality and outperforms baselines, and deployment on XLogoOnline yields meaningful learner benefits, with synthesized tasks elevating next-task success rates. Limitations include rough difficulty alignment, absence of learner-specific personalization, and generation time; future work aims to refine difficulty modeling, personalize task generation, and accelerate synthesis via learned or generative AI techniques.
Abstract
In recent years, the XLogoOnline programming platform has gained popularity among novice learners. It integrates the Logo programming language with visual programming, providing a visual interface for learning computing concepts. However, XLogoOnline offers only a limited set of tasks, which are inadequate for learners to master the computing concepts that require sufficient practice. To address this, we introduce XLogoSyn, a novel technique for synthesizing high-quality tasks for varying difficulty levels. Given a reference task, XLogoSyn can generate practice tasks at varying difficulty levels that cater to the varied needs and abilities of different learners. XLogoSyn achieves this by combining symbolic execution and constraint satisfaction techniques. Our expert study demonstrates the effectiveness of XLogoSyn. We have also deployed synthesized practice tasks into XLogoOnline, highlighting the educational benefits of these synthesized practice tasks.
