使用状态图教学交互
Teaching Interaction using State Diagrams
摘要:
为了使计算思维吸引年轻的学习者,初始编程教学看起来与十年前大不相同,越来越多地使用真实和虚拟的图形和机器人。在第一步之后,孩子们想要创建交互式程序,他们需要一个模型。状态图提供了这样一个模型。本文记录了模型驱动工程工具SD Draw的设计和实现,该工具允许小学生绘制和理解状态图,并使用Elm程序中的模型视图更新模式标准在Elm程序设计语言中创建可修改的应用程序模板。我们已经在4年级和5年级的学生中进行了测试。在我们最初的测试中,我们发现孩子们使用这个工具很快就能理解状态图的动机和用途,即使只教他们使用具体的状态建模,他们也能独立地发现抽象的状态。为了确定这种方法是否适合这个年龄段的孩子,我们想知道:孩子们是否理解状态图,他们是否理解可达性的作用,他们是否被它们所吸引?我们发现他们能够在不同的状态图表示之间进行转换,这强烈表明他们确实理解它们。我们发现置信度p<0.001,通过反驳他们随机创建图表的零假设,他们确实理解可达性。我们发现他们被这个概念所吸引,许多学生继续在放学后和周末的私人时间开发他们的图表。
英文摘要:
To make computational thinking appealing to young learners, initial programming instruction looks very different now than a decade ago, with increasing use of graphics and robots both real and virtual. After the first steps, children want to create interactive programs, and they need a model for this. State diagrams provide such a model. This paper documents the design and implementation of a Model-Driven Engineering tool, SD Draw, that allows even primary-aged children to draw and understand state diagrams, and create modifiable app templates in the Elm programming language using the model-view-update pattern standard in Elm programs. We have tested this with grade 4 and 5 students. In our initial test, we discovered that children quickly understand the motivation and use of state diagrams using this tool, and will independently discover abstract states even if they are only taught to model using concrete states. To determine whether this approach is appropriate for children of this age we wanted to know: do children understand state diagrams, do they understand the role of reachability, and are they engaged by them? We found that they are able to translate between different representations of state diagrams, strongly indicating that they do understand them. We found with confidence p<0.001 that they do understand reachability by refuting the null hypothesis that they are creating diagrams randomly. And we found that they were engaged by the concept, with many students continuing to develop their diagrams on their own time after school and on the weekend.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。