在初级课程中系统思考代码结构练习的复杂性
Systematically Thinking about the Complexity of Code Structuring Exercises at Introductory Level
AI总结:
本文提出一个框架,用于系统评估初级课程中代码结构练习的复杂性,通过定义重复、代码模式和数据依赖性三个维度,帮助设计提升学生分解与抽象能力的教育任务。
摘要:
分解和抽象是计算思维的重要组成部分,但在初级编程课程中并不总是被强调。此外,随着生成式AI进一步减少对语法的重视并增加对更高层次代码推理的重要性,重新教授DA(分解与抽象)提供了新的机会。在本文中,我们介绍了一个系统评估代码结构任务复杂性的框架,其中学生必须在现有无结构代码中识别并分离有意义的抽象。该框架定义了任务复杂性的三个维度,每个维度有多个级别:重复、代码模式和数据依赖性。为了支持实际应用,我们提供了映射到这些级别的示例任务,并提供了一个交互式工具来生成和探索DA问题。该框架旨在支持开发构建学生在过程范式中DA技能的教育任务。
英文摘要:
Decomposition and abstraction is an essential component of computational thinking, yet it is not always emphasized in introductory programming courses. In addition, as generative AI further reduces the focus on syntax and increases the importance of higher-level code reasoning, there is renewed opportunity to teach DA explicitly. In this paper, we introduce a framework for systematically assessing the complexity of code structuring tasks, where students must identify and separate meaningful abstractions within existing, unstructured code. The framework defines three dimensions of task complexity, each with multiple levels: repetition, code pattern, and data dependency. To support practical use, we provide example tasks mapped to these levels and offer an interactive tool for generating and exploring DA problems. The framework is designed to support the development of educational tasks that build students' skills with DA in the procedural paradigm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。