首页> 外文会议>International conference on human-computer interaction >The role of external memory in a complex task: Effects of device and memory restrictions on program generation
【24h】

The role of external memory in a complex task: Effects of device and memory restrictions on program generation

机译:外部内存在复杂任务中的作用:设备和内存限制对程序生成的影响

获取原文

摘要

One significant finding in programming research is that code is not generated in a linear fashion - that is, in a strict first-to-last order (Davies, 1991). Typically, programmers make many deviations from linear development, leaving gaps in the emerging program to be filled in later. Hence, the final text order of the program rarely corresponds to its generative order. Green et al (1987) proposed a model to account for this finding. Their parsing/gnisrap model describes the process by which a skeletal plan is instantiated in a programming notation. This model introduces a working memory component into the analysis of coding behaviour that forces the model to use an external medium (eg the VDU screen) when program fragments are completed or when working memory is overloaded. Hence, programs are not simply built up internally and then output to an external media with a generative order that reflects the final text order of the program. Rather, programmers will frequently need to refer back to generated code in order to recreate the original plan structure. The parsing element of the model describes this process, while gnisrap describes the generative process. Given the cognitive costs that are involved in continually evaluating and modifying generated code, we require an explanation as to why skilled programmers rely so extensively on external rather than internal memory sources. Two experiments are reported here which attempt to address this issue directly. The first experiment considers the role of working memory in the determination of strategy for novice and expert programmers. The second experiment looks at the effects upon certain error forms of restricting the kinds of manipulations programmers can make within an environment.
机译:编程研究中的一个重要发现是代码不是以线性方式生成的 - 即在严格的第一阶(Davies,1991)中。通常,程序员与线性开发产生了许多偏差,在以后填写新兴程序中的差距。因此,该程序的最终文本顺序很少对应于其生成顺序。 Green et al(1987)提出了一个模型来解释这一发现。它们的解析/ GNISRAP模型描述了在编程符号中实例化了骨架计划的过程。该模型将工作存储器组件引入对编码行为的分析中,当程序碎片完成时或者当工作存储器过载时,迫使模型使用外部介质(例如VDU屏幕)。因此,程序不会简单地在内部构建,然后用生成顺序输出到外部介质,这些顺序反映了程序的最终文本顺序。相反,程序员通常需要引用生成的代码,以便重新创建原始计划结构。模型的解析元素描述了该过程,而Gnisrap描述了生成过程。鉴于连续评估和修改生成的代码所涉及的认知成本,我们需要解释为什么熟练的程序员依赖于外部而不是内存源的熟练程序。在此报告了两项实验,试图直接解决这个问题。第一个实验考虑了工作记忆在确定新手和专家程序员战略方面的作用。第二个实验在某些错误形式的限制范围内的效果看起来,程序员可以在环境中制作。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号