【24h】

Novice Difficulties with Interleaved Pattern Composition

机译:交错模式组成的新手困难

获取原文
获取原文并翻译 | 示例

摘要

Design patterns are essential building blocks of computer programs. In the design of programs, patterns are selected and composed together. Pattern compositions may be of various kinds, among them: concatenation, inclusion (of one pattern in another), and interleaving (of two or more patterns). Pattern interleaving is the subtler composition. Yet, it is already required in early programming (e.g., the number of appearances of the max in a list, which requires the interleaving of counting and max computation). In this paper, we illuminate novices' struggle with interleaved compositions. We present an empirical study of high-school CS students, which reveals several kinds of novice difficulties, including: "bypassing" of interleaved composition by concatenation, improper application of patterns, and design of malformed interleaved structures. We offer some didactic suggestions to teachers for coping with these difficulties.
机译:设计模式是计算机程序的基本构建块。在程序设计中,选择模式并将它们组合在一起。模式组成可以是多种类型,其中包括:串联,包含(一种模式在另一种模式中)和交织(两种或多种模式)。模式交织是微妙的组成。然而,在早期编程中已经需要它(例如,列表中最大值的出现次数,这需要计数和最大值计算的交织)。在本文中,我们阐明了新手在交错构图方面的挣扎。我们对高中CS学生进行了一项实证研究,揭示了几种新手困难,包括:通过级联“绕过”交错的构图,不正确应用图案以及设计畸形的交错结构。我们为教师提供一些教学上的建议,以应对这些困难。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号