Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1900008.1900040acmconferencesArticle/Chapter ViewAbstractPublication Pagesacm-seConference Proceedingsconference-collections
research-article

Automated construction of memory diagrams for program comprehension

Published: 15 April 2010 Publication History

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.
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.

References

[1]
AT&T Research. Graphviz - graph visualization software. http://www.graphviz.org.
[2]
G. Booch, I. Jacobson, and J. Rumbaugh. The Unified Modeling Language User Guide. Addison-Wesley, Reading, MA, USA, 2005.
[3]
J. H. Cross II, T. D. Hendrix, and S. Maghsoodloo. The control structure diagram: An overview and initial evaluation. Empirical Software Engineering, 3(2):131--158, 1998.
[4]
E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design Patterns Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading, MA, USA, 1995.
[5]
J. Hamer. Visualising Java data structures as graphs. In The 6th Australasian Computer Science Education Conference, pages 125--129. Australian Computer Society, 2004.
[6]
T. D. Hendrix, J. H. Cross II, S. Maghsoodloo, and M. L. McKinney. Do visualizations improve program comprehensibility? Experiments with control structure diagrams for Java. In The 31st SIGCSE Technical Symposium on Computer Science Education, pages 382--386, New York, NY, USA, Mar. 2000. ACM.
[7]
M. A. Holliday and D. Luginbuhl. Using memory diagrams when teaching a Java-based CS1. In The 41st Annual Southeast Regional Conference, New York, NY, USA, Mar. 2003. ACM.
[8]
M. A. Holliday and D. Luginbuhl. CS1 assessment using memory diagrams. In The 35th SIGCSE Technical Symposium on Computer Science Education, pages 200--204, New York, NY, USA, Mar. 2004. ACM.
[9]
E. Larsson. GXL (Graph eXchange Language) project. http://gxl.sourceforge.net.
[10]
A. Winter, B. Kullbach, and V. Riediger. An overview of the GXL graph exchange language. In Revised Lectures on Software Visualization, International Seminar, pages 324--336, London, UK, 2002. Springer-Verlag.

Cited By

View all
  • (2022)Software Visualizations to Analyze Memory Consumption: A Literature ReviewACM Computing Surveys10.1145/348513455:1(1-34)Online publication date: 17-Jan-2022
  • (2021)Snapdown: A Text-Based Snapshot Diagram Language for Programming Education2021 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC)10.1109/VL/HCC51201.2021.9576201(1-9)Online publication date: 10-Oct-2021
  • (2016)Memory DiagramsProceedings of the 47th ACM Technical Symposium on Computing Science Education10.1145/2839509.2844607(546-551)Online publication date: 17-Feb-2016
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
ACMSE '10: Proceedings of the 48th annual ACM Southeast Conference
April 2010
488 pages
ISBN:9781450300643
DOI:10.1145/1900008
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 15 April 2010

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. CS1/2
  2. object-oriented programming
  3. program state
  4. visualization

Qualifiers

  • Research-article

Conference

ACM SE '10
Sponsor:
ACM SE '10: ACM Southeast Regional Conference
April 15 - 17, 2010
Mississippi, Oxford

Acceptance Rates

ACMSE '10 Paper Acceptance Rate 48 of 94 submissions, 51%;
Overall Acceptance Rate 502 of 1,023 submissions, 49%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)0
Reflects downloads up to 18 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2022)Software Visualizations to Analyze Memory Consumption: A Literature ReviewACM Computing Surveys10.1145/348513455:1(1-34)Online publication date: 17-Jan-2022
  • (2021)Snapdown: A Text-Based Snapshot Diagram Language for Programming Education2021 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC)10.1109/VL/HCC51201.2021.9576201(1-9)Online publication date: 10-Oct-2021
  • (2016)Memory DiagramsProceedings of the 47th ACM Technical Symposium on Computing Science Education10.1145/2839509.2844607(546-551)Online publication date: 17-Feb-2016
  • (2014)Abstracting and Narrating Novice Programs Using Regular ExpressionsProceedings of the Southern African Institute for Computer Scientist and Information Technologists Annual Conference 2014 on SAICSIT 2014 Empowered by Technology10.1145/2664591.2664601(19-28)Online publication date: 29-Sep-2014

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media