通过《Code Critters》变异测试游戏向低龄学习者教授循环测试
Teaching Loop Testing to Young Learners with the Code Critters Mutation Testing Game
AI总结:
本研究针对《Code Critters》变异测试游戏原有塔防玩法无法教授循环概念的局限,设计了整合循环测试的新关卡剧情,经29名中学生测试验证了参与度,并明确了教学改进方向。
摘要:
严肃游戏甚至可以向低龄受众教授核心编程与测试概念。在《Code Critters》游戏中,小动物们在遍历游戏地图时执行基于块的短代码片段,玩家在对应测试输入的位置放置对应测试预言的魔法传送门,以区分执行正确代码的小动物和执行错误代码的小动物。然而,这种塔防类游戏的改编形式将被测代码限制为基本序列和分支,排除了循环这一基础编程概念。为解决这一局限,本文提出一个整合进《Code Critters》剧情的全新游戏概念,要求玩家在第二阶段关卡中测试小动物们使用基于循环的配方收集治疗药水原料的行为。在一项涉及29名中学生的研究中,我们观察到学生对这些新的整合循环的关卡参与度很高。研究结果凸显了学生面临的挑战,可为未来改进编程与测试教育的策略提供参考。
英文摘要:
Serious games can teach essential coding and testing concepts even to younger audiences. In the Code Critter game critters execute short snippets of block-based code while traversing the game map, and players position magical portals (akin to test oracles) at locations (akin to test inputs) to distinguish between critters executing correct code from those who execute faulty code. However, this adaptation of the tower defense genre limits code under test to basic sequences and branches, and excludes the fundamental programming concept of loops. To address this limitation, in this paper we introduce an entirely new game concept integrated into the Code Critters storyline, tasking players to test the behavior of critters collecting ingredients for a healing potion using loop-based recipes at a second-stage level. In a study involving 29 secondary school students, we observed active engagement with these new loop-integrated levels. The results highlight challenges the students face, which can inform future strategies for improving coding and testing education.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。