图形领域编程教育的两种方法:一项实验
Two Approaches for Programming Education in the Domain of Graphics: An Experiment
AI总结:
本研究通过145名学生的随机对照实验,比较了PyTamaro组合图形库与Python Turtle库在入门编程教育中的效果,发现两者在参与度和后测表现上差异不大,但组合图形代码更易追踪,且练习同构问题未能显著提升概念迁移。
摘要:
背景:图形是教授入门编程的一个热门领域,即使在使用基于文本的编程语言时,也能以激励性的方式进行教学。在过去几十年中,为此目的开发了大量采用不同方法的库。探究:先前在入门编程中使用图形作为输入和输出的研究在参与度方面显示了积极的结果,但关于学习者是否能够将通过图形学到的编程概念应用于其他领域的编程,即迁移所学内容,研究仍然稀缺。方法:我们进行了一项随机对照实验,有145名学生作为参与者分为两组。两组都使用Python进行图形编程,但采用了不同的方法:一组使用名为PyTamaro的组合图形库;另一组使用Python标准库中的Turtle图形库。通过调查问卷评估学生的参与度,并通过一项关于通用编程概念和图形领域编程任务的后测来评估编程知识。知识:尽管PyTamaro组练习了与后测中同构的问题,但我们在后测中发现两组之间几乎没有差异。参与者追踪组合图形程序的准确性高于“可比较的”turtle图形程序。两组都报告了高参与度和感知学习;两组在创建图形的简单程序编写任务上都表现良好。依据:我们的发现基于一项对照实验,共有145名参与者,超过了功效分析检测中等效应量所需的样本量。研究中使用的完整工具和教学材料作为附录提供。重要性:这项研究进一步证明了图形是入门编程的一个吸引人的领域;此外,它表明PyTamaro采用的组合图形方法产生的参与度与古老的turtle方法相当。组合图形代码似乎比turtle图形代码更容易追踪。至于概念知识,我们的结果表明,练习与测试同构的编程任务可能仍不足以实现更好的迁移。这对编程教育者和研究者提出了挑战,要求他们进一步研究哪些基于图形的方法最有效,以及如何促进迁移。
英文摘要:
Context: Graphics is a popular domain for teaching introductory programming in a motivating way, even in text-based programming languages. Over the last few decades, a large number of libraries using different approaches have been developed for this purpose. Inquiry: Prior work in introductory programming that uses graphics as input and output has shown positive results in terms of engagement, but research is scarce on whether learners are able to use programming concepts learned through graphics for programming in other domains, transferring what they have learned. Approach: We conducted a randomized, controlled experiment with 145 students as participants divided into two groups. Both groups programmed using graphics in Python, but used different approaches: one group used a compositional graphics library named PyTamaro; the other used the Turtle graphics library from Python's standard library. Student engagement was assessed with surveys, and programming knowledge with a post-test on general programming concepts and programming tasks in the domain of graphics. Knowledge: We find few differences between the two groups on the post-test, despite the PyTamaro group having practiced on problems isomorphic to those in the post-test. The participants traced a compositional graphics program more accurately than a 'comparable' turtle graphics program. Both groups report high engagement and perceived learning; both perform well on simple program-writing tasks to create graphics. Grounding: Our findings are based on a controlled experiment with a count of 145 participants, which exceeds the sample size indicated by power analysis to detect a medium effect size. The complete instrument and teaching materials used in the study are available as appendixes. Importance: This study adds further evidence that graphics is an engaging domain for introductory programming; moreover, it shows that the compositional graphics approach adopted by PyTamaro yields engagement levels comparable to the venerable turtle approach. Compositional graphics code appears to be easier to trace than turtle graphics code. As for conceptual knowledge, our results indicate that practicing on programming tasks isomorphic to those of the test can still not be enough to achieve better transfer. This challenges programming educators and researchers to investigate further which graphics-based approaches work best and how to facilitate transfer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。