首页> 外文会议>HCI International '99: the 8th International Conference on Human-Computer Interaction Vol.1, Aug 22-26, 1999, Munich, Germany >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等人(1987)提出了一个模型来解释这一发现。他们的解析/ gnisrap模型描述了以编程符号实例化骨骼计划的过程。该模型在编码行为分析中引入了工作内存组件,从而在程序片段完成或工作内存过载时强制模型使用外部介质(例如VDU屏幕)。因此,不是简单地在内部构建程序,然后以生成顺序将其输出到外部媒体,该生成顺序反映了程序的最终文本顺序。相反,程序员将经常需要参考生成的代码以重新创建原始计划结构。模型的解析元素描述了此过程,而gnisrap描述了生成过程。考虑到持续评估和修改生成的代码所涉及的认知成本,我们需要解释为什么熟练的程序员如此广泛地依赖外部而不是内部存储源。这里报道了两个实验,它们试图直接解决这个问题。第一个实验考虑了工作记忆在确定新手和专家程序员策略中的作用。第二个实验着眼于对某些错误形式的影响,这些错误形式限制了程序员在环境中可以进行的操作种类。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号