An Empirical Evaluation of Live Coding in CS1

被引:7
|
作者
Shah, Anshul [1 ]
Hogan, Emma [1 ]
Agarwal, Vardhan [1 ]
Driscoll, John [1 ]
Porter, Leo [1 ]
Griswold, William G. [1 ]
Raj, Adalbert Gerald Soosai [1 ]
机构
[1] Univ Calif San Diego, San Diego, CA 92093 USA
关键词
live coding; programming processes; course performance; student perceptions; pedagogical techniques; Cognitive Apprenticeship;
D O I
10.1145/3568813.3600122
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Background and Context. Live coding is a teaching method in which an instructor dynamically writes code in front of students in an effort to impart skills such as incremental development and debugging. By contrast, traditional, static-code examples typically involve an instructor annotating or explaining components of pre-written code. Despite recommendations to use live coding and a wealth of qualitative analyses that identify perceived learning benefits of it, there are a lack of empirical evaluations to confirm those learning benefits, especially with respect to students' programming processes. Objectives. Our work aims to provide a holistic, empirical comparison of a live-coding pedagogy with a static-code one. We evaluated the impact of a live-coding pedagogy on three main areas: 1) students' adherence to effective programming processes, 2) their performance on exams and assignments, and 3) their lecture experiences, such as engagement during lecture and perceptions of code examples. Method. In our treatment-control quasi-experimental setup, one lecture group saw live-coding examples while the other saw only static-code ones. Both lecture groups were taught by the same instructor, were taught the exact same content, and completed the same assignments and exams. We collected compilation-level programming process data, student performance on exam and homework questions, and feedback via a survey and course evaluations. Findings. Our findings showed no statistically significant differences between the live-coding and static-code groups on programming process metrics related to incremental development, debugging, and productivity. Similarly, there was no difference between the groups on course performance on assignments and exams. Finally, student feedback suggests that more students in the live-coding group reported that lectures were too fast and failed to facilitate note-taking, potentially mitigating the perceived benefits of live coding. Implications. Live coding alone may not lead to many of the perceived and intended benefits that prior work identifies, but future work may investigate how to realize these benefits while minimizing the drawbacks we identified.
引用
收藏
页码:476 / 494
页数:19
相关论文
共 50 条
  • [41] Integrating Video Components in CS1
    Vilner, Tamar
    Zur, Ela
    Sagi, Ronit
    SIGCSE 12: PROCEEDINGS OF THE 43RD ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2011, : 123 - 128
  • [42] CS1: The Most Dangerous Course for CS Educators to Teach?
    Clear T.
    ACM Inroads, 2022, 13 (04) : 6 - 8
  • [43] The PTB primary clocks CS1 and CS2
    Bauch, A
    METROLOGIA, 2005, 42 (03) : S43 - S54
  • [44] GUIGraph - Editing live object diagrams for GUI generation enables new pedagogy in CS1/2
    Otterbein University, Westerville, OH, United States
    ITiCSE - Proc. Annu. Conf. Innov. Technol. Comput. Sci., (193-197):
  • [45] Reviewing CS1 Exam Question Content
    Petersen, Andrew
    Craig, Michelle
    Zingaro, Daniel
    SIGCSE 11: PROCEEDINGS OF THE 42ND ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2011, : 631 - 636
  • [46] Introducing Code Quality in the CS1 Classroom
    Izu, Cruz
    Mirolo, Claudio
    Borstler, Jurgen
    Connamacher, Harold
    Crosby, Ryan
    Glassey, Richard
    Haldeman, Georgiana
    Kiljunen, Olli
    Kumar, Amruth N.
    Liu, David
    Luxton-Reilly, Andrew
    Matsumoto, Stephanos
    de Oliveira, Eduardo Carneiro
    Russell, Sean
    Shah, Anshul
    PROCEEDINGS OF THE 2024 CONFERENCE INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, VOL 2, ITICSE 2024, 2024, : 773 - 774
  • [47] C in CS1: Snags and Viable Solution
    Naveed, Shumail
    Sarim, Muhammad
    Nadeem, Adnan
    MEHRAN UNIVERSITY RESEARCH JOURNAL OF ENGINEERING AND TECHNOLOGY, 2018, 37 (01) : 1 - 14
  • [48] An Experimental Study of Cooperative Learning in CS1
    Beck, Leland L.
    Chizhik, Alexander W.
    SIGCSE'08: PROCEEDINGS OF THE 39TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2008, : 205 - 209
  • [49] Spatial Skills and Demographic Factors in CS1
    Ly, Anna
    Parkinson, Jack
    Cutts, Quintin
    Liut, Michael
    Petersen, Andrew
    PROCEEDINGS OF 21ST KOLI CALLING CONFERENCE ON COMPUTING EDUCATION RESEARCH, KOLI CALLING 2021,, 2021,
  • [50] An Analysis of Students' Testing Processes in CS1
    Allen-Perez, Gonzalo
    Millan, Luis
    Nghiem, Brandon
    Wu, Kevin
    Shah, Anshul
    Raj, Adalbert Gerald Soosai
    PROCEEDINGS OF THE 56TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, SIGCSE TS 2025, VOL 2, 2025, : 46 - 59