Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Free to read · Published 31 August 2009

Memory Tracing

Eva Cogan & Chaya Gurwitz

Journal of Computer Science, Volume 5, Issue 8, pp. 608–613 · doi.org/10.3844/jcssp.2009.608.613

7,162 accesses5,138 downloads3 citations (Crossref)Metrics
Cite Check for updates

Abstract

Problem statement: Students completing introductory computing courses did not know how to program at the expected level. Seeking the underlying problem, we came to believe that students were focusing only on results and not connecting with the inner workings of their code. This left them poorly prepared to master increasingly complex problems. Approach: We hoped that by promoting memory tracing as a core competence as early as possible in introductory programming courses we would hone the understanding and skills of our students and improve their chances for succeeding in computer science. We emphasized a basic and manual approach to memory tracing--in the classroom, in conjunction with homework assignments and on exams--to help our students gain the ability to write good programs, test them and, should it become necessary, debug them. Results: Having received gratifying results from our approach in our own classes, we had moved to get the word out as quickly as possible to motivate other educators to implement it. We described how we derived benefit from memory tracing in the various contexts and we presented the details of our method for teaching students how to best use this technique. Conclusion/Recommendations: Training students early on to actively carry out a manual memory trace of programs (as opposed to relying on debuggers or print statements) will help them develop their coding skill and comfort, quite apart from any facility for finding and fixing errors. Although experienced programmers trace intuitively, beginning students do not; they need to be trained. Therefore we felt that tracing should be an explicit, emphasized component of the introductory courses.

Licence and reuse

Free to read. This article carries the publisher’s copyright, as printed on it: © 2009 Science Publications. It is free to read; ask us before reusing it.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Cogan, E. & Gurwitz, C. (2009). Memory Tracing. Journal of Computer Science, 5(8), 608–613. https://doi.org/10.3844/jcssp.2009.608.613

Licence
© Science Publications
Issue
Volume 5, Issue 8
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
Memory TracingJournal of Computer Science · Volume 5, Issue 8 · pp. 608–613 · © Science PublicationsDownload