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 条
  • [1] Coding Demonstration Videos for CS1
    Stephenson, Ben
    SIGCSE '19: PROCEEDINGS OF THE 50TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2019, : 105 - 111
  • [2] Creative Coding and Visual Portfolios for CS1
    Greenberg, Ira
    Kumar, Deepak
    Xu, Dianna
    SIGCSE 12: PROCEEDINGS OF THE 43RD ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2011, : 247 - 252
  • [3] Generating CS1 Coding Questions using OpenAI
    Naringrekar, Pranjal Dilip
    Akhmetov, Ildar
    Stroulia, Eleni
    PROCEEDINGS OF THE 25TH WESTERN CANADIAN CONFERENCE ON COMPUTING EDUCATION, 2023,
  • [4] Introducing Secure Coding in CS0, CS1, and CS2
    Taylor, Blair
    Kaza, Siddharth
    Hawthorne, Elizabeth
    PROCEEDINGS OF THE 45TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION (SIGCSE'14), 2014, : 748 - 748
  • [5] Evaluation of an Intervention on Activity Planning in CS1
    Gomez, Alberto
    Marco-Galindo, Maria-Jesus
    Minguillon, Julia
    IEEE REVISTA IBEROAMERICANA DE TECNOLOGIAS DEL APRENDIZAJE-IEEE RITA, 2023, 18 (03): : 287 - 294
  • [6] A Longitudinal Evaluation of a Best Practices CS1
    Salguero, Adrian
    McAuley, Julian
    Simon, Beth
    Porter, Leo
    PROCEEDINGS OF THE 2020 ACM CONFERENCE ON INTERNATIONAL COMPUTING EDUCATION RESEARCH, ICER 2020, 2020, : 182 - 193
  • [7] Including Coding Questions in Video Quizzes for a Flipped CS1
    Lacher, Lisa L.
    Jiang, Albert
    Zhang, Yu
    Lewis, Mark C.
    SIGCSE'18: PROCEEDINGS OF THE 49TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2018, : 574 - 579
  • [8] Computational Art and Creative Coding: Teaching CS1 with Processing
    Greenberg, Ira
    Kumar, Deepak
    Xu, Dianna
    SIGCSE 12: PROCEEDINGS OF THE 43RD ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2011, : 659 - 660
  • [9] Program Cozmo to Enhance CS0/CS1 Learning of Secure Coding
    Grondahl, Kevin
    Chattopadhyay, Ankur
    Azhar, Mohammad
    SIGCSE 2020: PROCEEDINGS OF THE 51ST ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2020, : 1354 - 1354
  • [10] Investigating the Impact of Using a Live Programming Environment in a CS1 Course
    Huang, Ruanqianqian
    Ferdowsi, Kasra
    Selvaraj, Ana
    Raj, Adalbert Gerald Soosai
    Lerner, Sorin
    PROCEEDINGS OF THE 53RD ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION (SIGCSE 2022), VOL 1, 2022, : 495 - 501