Blogs (19) >>
Thu 16 Mar 2023 11:10 - 11:35 at 801B - Code Tracing and Assessment Chair(s): Bernie Longboy

Code tracing (or program sketching) is a useful technique for both students and professionals to understand syntactic and semantic details of code. Emphasizing and exploring this skill leads students to a deep understanding of their code in the short term and ultimately, their evolution into competent programmers in the future. In this paper, we provide evidence that a careful incorporation of the concept of scoping into code tracing techniques is fundamental to achieving this successful student transition. To this end, we present a formalized pencil-and-paper code tracing strategy for CS1 called Visualized Scope Tracing (VST), with scoping as a key underlying theme that elegantly addresses code blocks, function stacks, recursive structures, pass-by-reference, arrays, pointers, and parallel code.

Furthermore, we study the impact of our code tracing approach on CS1 students at a small liberal arts institution over a 10-year period. The goals of this work are twofold: describe how to easily (and naturally) integrate VST into any CS1 curricula; second, show demonstrable improvements on student understanding using our technique. Our findings suggest that VST is not only effective at improving students’ skills in CS1, but that it has a positive, long-lasting impact on their academic performance in CS2.

Thu 16 Mar

Displayed time zone: Eastern Time (US & Canada) change

10:45 - 12:00
Code Tracing and AssessmentPapers at 801B
Chair(s): Bernie Longboy Harvard University
10:45
25m
Paper
On Students' Usage of Tracing for Understanding CodeIn-Person
Papers
Mohammed Hassan University of Illinois at Urbana-Champaign, Craig Zilles University of Illinois at Urbana-Champaign
DOI
11:10
25m
Paper
Improving Long Term Performance Using Visualized Scope Tracing: A 10-Year StudyIn-Person
Papers
Ankur Gupta Butler University, Ryan Rybarczyk Butler University
DOI
11:35
25m
Paper
Stream Your Exam to the Course Staff: Asynchronous Assessment via Student-Recorded Code Trace VideosIn-Person
Papers
Rachel S. Lim University of California San Diego, Joe Gibbs Politz University of California at San Diego, Mia Minnes UC San Diego
DOI