Skip to main navigation Skip to search Skip to main content

Trace-based teaching in early programming courses

  • King's College Wilkes-Barre

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

63 Scopus citations

Abstract

Students in introductory programming courses struggle with building the mental models that correctly describe concepts such as variables, subroutine calls, and dynamic memory usage. This struggle leads to lowered student learning outcomes and, it has been argued, the high failure and dropout rates commonly seen in these courses. We will show that accurately modeling what is occurring in memory and requiring students to trace code using this model improves student performance and increases retention. This paper presents the results of an experiment in which introductory programming courses were organized around code tracing. We present program memory traces, a new approach for tracing code that models what occurs in memory as a program executes. We use these traces to drive our lectures and to act as key pieces of our active learning activities. We report the results of student surveys showing that instructor tracing was rated as the most valuable piece of the course and students' overwhelming agreement on the importance of the tracing activities for their learning. Finally, we demonstrate that trace-based teaching led to statistically significant improvements student grades, decreased drop and failure rates, and an improvement in students' programming abilities.

Original languageEnglish
Title of host publicationSIGCSE 2013 - Proceedings of the 44th ACM Technical Symposium on Computer Science Education
PublisherAssociation for Computing Machinery
Pages561-566
Number of pages6
ISBN (Print)9781450320306
DOIs
StatePublished - 2013
Event44th ACM Technical Symposium on Computer Science Education, SIGCSE 2013 - Denver, CO, United States
Duration: Mar 6 2013Mar 9 2013

Publication series

NameSIGCSE 2013 - Proceedings of the 44th ACM Technical Symposium on Computer Science Education

Conference

Conference44th ACM Technical Symposium on Computer Science Education, SIGCSE 2013
Country/TerritoryUnited States
CityDenver, CO
Period03/6/1303/9/13

Keywords

  • CS1
  • CS2
  • Pedagogy
  • Tracing

Fingerprint

Dive into the research topics of 'Trace-based teaching in early programming courses'. Together they form a unique fingerprint.

Cite this