Bugs in learners' programs are often the result of fundamental misconceptions. Teachers frequently face the challenge of first having to understand such bugs, and then suggest ways to fix them. In order to enable teachers to do so effectively and efficiently, it is desirable to support them in recognising and fixing bugs. Misconceptions often lead to recurring patterns of similar bugs, enabling automated tools to provide this support in terms of hints on occurrences of common bug patterns. In this paper, we investigate to what extent the hints improve the effectiveness and efficiency of teachers in debugging learners' programs using a cohort of 163 primary school teachers in training, tasked to correct buggy Scratch programs, with and without hints on bug patterns. Our experiment suggests that automatically generated hints can reduce the effort of finding and fixing bugs from 8.66 to 5.24 minutes, while increasing the effectiveness by 34% more correct solutions. While this improvement is convincing, arguably teachers in training might first need to learn debugging "the hard way" to not miss the opportunity to learn by relying on tools. We therefore investigate whether the use of hints during training affects their ability to recognise and fix bugs without hints. Our experiment provides no significant evidence that either learning to debug with hints or learning to debug "the hard way" leads to better learning effects. Overall, this suggests that bug patterns might be a useful concept to include in the curriculum for teachers in training, while tool-support to recognise these patterns is desirable for teachers in practice.
翻译:学习者方案中的错误往往是根本性错误错误的结果。 教师经常面临首先必须首先理解这类错误的挑战, 然后建议如何纠正这些错误。 为了让教师能够有效和高效地这样做, 有必要支持他们识别和纠正错误。 错误的观念往往导致类似错误的反复出现模式, 使自动化工具能够在常见错误模式发生时的提示方面提供这种支持。 在本文件中, 我们调查教师在使用163名小学教师进行培训, 任务是纠正错误的拼写程序, 以及纠正错误模式。 为了让教师能够有效和高效地这样做, 我们的实验表明, 自动生成的提示可以减少查找和纠正错误的努力, 从8. 66分钟到5. 24分钟, 同时将效果提高34% 正确的解决办法。 虽然这种改进是令人信服的, 培训中的教师可能首先需要学习解密“ 有用的方法”, 以便不错过学习工具的机会。 因此, 我们调查在培训过程中使用提示是否影响教师识别和修正错误模式的能力, 而无需提示。 我们的实验显示, 学习错误的方法可能是学习的硬性工具。