Examples of Unsuccessful Use of Code Comprehension Strategies: A Resource for Developing Code Comprehension Pedagogy

被引:2
|
作者
Lewis, Colleen M. [1 ]
机构
[1] Univ Illinois, Dept Comp Sci, Urbana, IL 61820 USA
关键词
code comprehension; introductory programming; CS1; conceptual change; explain in plain English; KNOWLEDGE;
D O I
10.1145/3568813.3600116
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Background: Code comprehension research has identified gaps between the strategies experts and novices use in comprehending code. In computer science (CS) education, code comprehension has recently received increased attention, and research has identified correlations between code comprehension and code writing. While there is a long history of identifying expert code-comprehension strategies, there has been less work to understand and support the incremental development of code comprehension expertise. Purpose: The goal of the paper is to identify potential code-comprehension strategies that educators could teach students. Methods: In this paper, I analyze and present examples from a novice programmer engaged in a code-comprehension task. Findings: I identify five code-comprehension strategies that overlap with previously identified, expert code-comprehension strategies. While an expert would use these strategies to produce correct inferences about code, I primarily examine a novice's unsuccessful attempts to comprehend code using these strategies. Implications: My case study provides an existence proof that shows that these five strategies can be used by a novice. This is essential for identifying potential strategies to teach novices. My primary empirical contribution is identifying potential building blocks for developing code-comprehension expertise. My primary theoretical contribution is proposing to build code-comprehension pedagogy on specific, expert strategies that I show are usable by a novice. More broadly, I hope to encourage CS education researchers to focus on understanding the complex processes of learning that occur in between the end points of novice and expert.
引用
收藏
页码:15 / 28
页数:14
相关论文
共 50 条
  • [41] From Code to Comprehension: AI Captures the Language of Life
    Valentin-Alvarado, Luis E.
    Knott, Gavin J.
    CRISPR JOURNAL, 2025, 8 (01): : 2 - 4
  • [42] Code Comprehension: Review and Large Language Models Exploration
    Cui, Jielun
    Zhao, Yutong
    Yu, Chong
    Huang, Jiaqi
    Wu, Yuanyuan
    Zhao, Yu
    2024 IEEE 4TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND ARTIFICIAL INTELLIGENCE, SEAI 2024, 2024, : 183 - 187
  • [43] A common neural code for meaning in discourse production and comprehension
    Patel, Tanvi
    Morales, Matias
    Pickering, Martin J.
    Hoffman, Paul
    NEUROIMAGE, 2023, 279
  • [44] CodeQA: A Question Answering Dataset for Source Code Comprehension
    Liu, Chenxiao
    Wan, Xiaojun
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EMNLP 2021, 2021, : 2618 - 2632
  • [45] Impermanent identifiers: Enhanced source code comprehension and refactoring
    Guerra, Eduardo Martins
    Ivo, Andre A. S.
    Pereira, Fernando O.
    Robbes, Romain
    Janes, Andrea
    Silveira, Fabio Fagundes
    JOURNAL OF SYSTEMS AND SOFTWARE, 2024, 216
  • [46] Advanced Code Comprehension using Version Control Information
    Brunner, Tibor
    Porkolab, Zoltan
    IPSI BGD TRANSACTIONS ON INTERNET RESEARCH, 2020, 16 (02): : 47 - 54
  • [47] A Three-Layer Model of Source Code Comprehension
    Belmonte, Javier
    Dugerdil, Philippe
    Agrawal, Ashish
    PROCEEDINGS OF THE 7TH INDIA SOFTWARE ENGINEERING CONFERENCE 2014, ISEC '14, 2014,
  • [48] Spotting Familiar Code Snippet Structures for Program Comprehension
    Vinayakarao, Venkatesh
    2015 10TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE 2015) PROCEEDINGS, 2015, : 1054 - 1056
  • [49] Exploring Algorithm Comprehension: Linking Proof and Program Code
    Kather, Philipp
    Vahrenhold, Jan
    PROCEEDINGS OF 21ST KOLI CALLING CONFERENCE ON COMPUTING EDUCATION RESEARCH, KOLI CALLING 2021,, 2021,
  • [50] The use of corpus examples for language comprehension and production
    Frankenberg-Garcia, Ana
    RECALL, 2014, 26 (02) : 128 - 146