skip to main content
10.1145/3159450.3159527acmconferencesArticle/Chapter ViewAbstractPublication PagessigcseConference Proceedingsconference-collections
research-article
Public Access

An Explicit Strategy to Scaffold Novice Program Tracing

Published:21 February 2018Publication History

ABSTRACT

We propose and evaluate a lightweight strategy for tracing code that can be efficiently taught to novice programmers, building off of recent findings on "sketching" when tracing. This strategy helps novices apply the syntactic and semantic knowledge they are learning by encouraging line-by-line tracing and providing an external representation of memory for them to update. To evaluate the effect of teaching this strategy, we conducted a block-randomized experiment with 24 novices enrolled in a university-level CS1 course. We spent only 5-10 minutes introducing the strategy to the experimental condition. We then asked both conditions to think-aloud as they predicted the output of short programs. Students using this strategy scored on average 15% higher than students in the control group for the tracing problems used the study (p<0.05). Qualitative analysis of think-aloud and interview data showed that tracing systematically (line-by-line and "sketching" intermediate values) led to better performance and that the strategy scaffolded and encouraged systematic tracing. Students who learned the strategy also scored on average 7% higher on the course midterm. These findings suggest that in <1 hour and without computer-based tools, we can improve CS1 students' tracing abilities by explicitly teaching a strategy.

References

  1. Alan D. Baddeley and Graham Hitch. 1974. Working Memory. Psychology of Learning and Motivation Vol. 8 (Jan. 1974), 47--89.Google ScholarGoogle Scholar

Index Terms

  1. An Explicit Strategy to Scaffold Novice Program Tracing

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Conferences
    SIGCSE '18: Proceedings of the 49th ACM Technical Symposium on Computer Science Education
    February 2018
    1174 pages
    ISBN:9781450351034
    DOI:10.1145/3159450

    Copyright © 2018 ACM

    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 the author(s) 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].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 21 February 2018

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article

    Acceptance Rates

    SIGCSE '18 Paper Acceptance Rate161of459submissions,35%Overall Acceptance Rate1,595of4,542submissions,35%

    Upcoming Conference

    SIGCSE Virtual 2024
    SIGCSE Virtual 2024: ACM Virtual Global Computing Education Conference
    November 30 - December 1, 2024
    Virtual Event , USA

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader