帮助学生从积木编程平滑过渡到写Python代码的智能平台
BlockPython: A Process-Aware Agent-Supported Platform for the Transition from Block-Based to Python Programming

- 通过积木与代码双向转换,引导四阶段学习流程
- 实时记录学习过程,精准识别理解与编码难题
- 适合编程初学者、教育研究者及课程设计者使用
从积木式编程转向文本式编程,要求学习者将可视化程序结构转化为抽象的Python表达,这可能在计算概念理解与语法表达之间造成认知断层。为支持这一过渡,我们设计并实现了BlockPython平台。该平台以积木与Python之间的双向转换为核心,引导学习者经历任务分解、积木实践、代码挑战和扩展交互四个阶段,逐步建立程序结构、运行行为与文本代码间的联系。学习过程中,平台持续收集过程证据,包括积木成果、代码版本、运行结果、支持使用情况及对话记录。基于这些证据,确定性诊断系统、程序可视化工具与学习助手可识别计算理解与Python表达中的不同困难。规则系统负责程序执行、客观评价与阶段控制,学习助手则利用验证后的证据提供解释、提示与引导问题。本文阐述了BlockPython的设计理念、学习流程与过程感知支持机制,为支持积木到文本编程的过渡及学习过程分析提供了系统设计参考。
原文摘要 · Abstract (English)
The transition from block-based to text-based programming requires learners to convert visible program structures into abstract textual expressions, which may create a cognitive gap between understanding computational concepts and expressing them in Python syntax. To support this transition, we designed and implemented BlockPython. The platform centers on bidirectional translation between blocks and Python and guides learners through four stages: Task Decomposition, Block-Based Practice, Code Challenge, and Extended Interaction. Across these stages, learners progressively establish connections among program structure, runtime behavior, and textual code. During learning, the platform continuously collects process evidence, including block artifacts, code versions, run outcomes, use of support, and dialogue. Deterministic diagnosis, program visualization, and the learning assistant use this evidence to identify different difficulties in computational understanding and Python expression. The rule-based system is responsible for program execution, objective evaluation, and stage control, while the learning assistant uses verified evidence to provide explanations, prompts, and guiding questions. This report describes the design rationale, learning workflow, and process-aware support mechanisms of BlockPython and provides a system-design reference for supporting the transition from block-based to text-based programming and for analyzing learning processes.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。