自动构建用于程序理解的内存图

ACM SE '10 Pub Date : 2010-04-15 DOI:10.1145/1900008.1900040
Andrew R. Dalton, William C. Kreahling
{"title":"自动构建用于程序理解的内存图","authors":"Andrew R. Dalton, William C. Kreahling","doi":"10.1145/1900008.1900040","DOIUrl":null,"url":null,"abstract":"Memory diagrams serve as a visualization technique that enables students to better understand the abstract state of program memory. Unlike traditional program visualizations, memory diagrams illustrate where variables of different types and storage classes are allocated. Our experience is that memory diagrams enhance the ability of novice programmers to understand object-oriented programming. Unfortunately, however, constructing these diagrams by hand can prove tedious.\n We introduce a toolkit for constructing memory diagrams. The toolkit enables students to verify their understanding of the state of their programs' memory, and allows instructors to generate both correct and incorrect diagrams to test their students' understanding of course material. We evaluate the toolkit in terms of its ability to generate visualizations of various Java language constructs including enumerations, arrays, and reference aliasing.","PeriodicalId":333104,"journal":{"name":"ACM SE '10","volume":"7 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-04-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":"{\"title\":\"Automated construction of memory diagrams for program comprehension\",\"authors\":\"Andrew R. Dalton, William C. Kreahling\",\"doi\":\"10.1145/1900008.1900040\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Memory diagrams serve as a visualization technique that enables students to better understand the abstract state of program memory. Unlike traditional program visualizations, memory diagrams illustrate where variables of different types and storage classes are allocated. Our experience is that memory diagrams enhance the ability of novice programmers to understand object-oriented programming. Unfortunately, however, constructing these diagrams by hand can prove tedious.\\n We introduce a toolkit for constructing memory diagrams. The toolkit enables students to verify their understanding of the state of their programs' memory, and allows instructors to generate both correct and incorrect diagrams to test their students' understanding of course material. We evaluate the toolkit in terms of its ability to generate visualizations of various Java language constructs including enumerations, arrays, and reference aliasing.\",\"PeriodicalId\":333104,\"journal\":{\"name\":\"ACM SE '10\",\"volume\":\"7 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2010-04-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"7\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"ACM SE '10\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/1900008.1900040\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM SE '10","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1900008.1900040","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7

摘要

内存图作为一种可视化技术,使学生能够更好地理解程序内存的抽象状态。与传统的程序可视化不同,内存图说明了在哪里分配了不同类型的变量和存储类。我们的经验是,内存图增强了新手程序员理解面向对象编程的能力。然而,不幸的是,手工构建这些图表可能是乏味的。我们将介绍一个用于构造内存图的工具包。该工具包使学生能够验证他们对程序内存状态的理解,并允许教师生成正确和不正确的图表来测试学生对课程材料的理解。我们根据生成各种Java语言结构(包括枚举、数组和引用别名)可视化的能力来评估该工具包。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Automated construction of memory diagrams for program comprehension
Memory diagrams serve as a visualization technique that enables students to better understand the abstract state of program memory. Unlike traditional program visualizations, memory diagrams illustrate where variables of different types and storage classes are allocated. Our experience is that memory diagrams enhance the ability of novice programmers to understand object-oriented programming. Unfortunately, however, constructing these diagrams by hand can prove tedious. We introduce a toolkit for constructing memory diagrams. The toolkit enables students to verify their understanding of the state of their programs' memory, and allows instructors to generate both correct and incorrect diagrams to test their students' understanding of course material. We evaluate the toolkit in terms of its ability to generate visualizations of various Java language constructs including enumerations, arrays, and reference aliasing.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信