arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.00858cs.SE
收藏

Scratch程序中的常见bug

Common Bugs in Scratch Programs

Christoph Frädrich, Florian Obermüller, Nina Körber, Ute Heuer, Gordon Fraser

摘要:

Scratch程序中的错误可能会破坏学习的乐趣并抑制学习的成功。许多常见的bug都是重复出现的坏代码模式的结果。在本文中,我们提出了一个常见的代码模式,通常暗示在Scratch程序中的错误,和LitterBox工具,可以自动检测到它们。我们根据经验评估这些模式发生的频率以及其后果通常有多严重。虽然修复错误不可避免地是学习的一部分,但自动识别错误的可能性提供了支持学习者的潜力

英文摘要:

Bugs in Scratch programs can spoil the fun and inhibit learning success. Many common bugs are the result of recurring patterns of bad code. In this paper we present a collection of common code patterns that typically hint at bugs in Scratch programs, and the LitterBox tool which can automatically detect them. We empirically evaluate how frequently these patterns occur, and how severe their consequences usually are. While fixing bugs inevitably is part of learning, the possibility to identify the bugs automatically provides the potential to support learners

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑