Teaching Programming by Revealing Thinking Process: Watching Experts' Live Coding Videos With Reflection Annotations

Yu Tzu Lin*, Martin K.C. Yeh, Sheng Rong Tan


研究成果: 雜誌貢獻期刊論文同行評審

8 引文 斯高帕斯(Scopus)


Contribution: Programming is a complex cognitive activity that involves both conceptual understanding and procedural skills, which is challenging for novices. To develop both program comprehension and implementation competency, this study proposed a live-coding-based instruction. Experts' live coding with think-aloud was recorded. Students then learn algorithmic planning and coding skills by observing experts' thinking and coding processes from the videos. To deploy this pedagogical strategy, a learning platform was developed to present the videos to students who could also annotate their reflection about the videos in the system to deepen their understanding of syntax and concepts of computer programming. Background: Traditional lecture-based programming instruction focuses more on the explanation of syntax and concepts but lacks revealing the dynamic and nonlinear thinking and coding process. Research Questions: This study is to explore the effects of live-coding-based instruction on students' programming knowledge, including declarative program knowledge (program comprehension) and procedural program knowledge (coding skills), and whether the instruction changes their attitude toward programming learning or not. Methodology: An empirical study was conducted with 33 high-school students who were novice programmers in one semester to explore the effectiveness of the live-coding-based instruction and the use of the learning platform. Findings: The experiment results show that watching flowcharting ( r=0.369, p < 0.05 ) or coding processes (r=0.409, p < 0.05) of experts improves coding skills. This implies that explicit depiction of algorithmic planning and coding processes are essential for building procedural programming knowledge. In addition, reflection on syntactic content of experts' programming plays an important role in programming (r=0.511,p < 0.01 ). The research findings suggest that programming instruction could focus more on developing students' problem-solving abilities by demonstrating the dynamic and nonlinear programming processes and providing opportunities for students to reflect on how syntactic knowledge could be applied to programming.

頁(從 - 到)617-627
期刊IEEE Transactions on Education
出版狀態已發佈 - 2022 11月 1

ASJC Scopus subject areas

  • 教育
  • 電氣與電子工程


深入研究「Teaching Programming by Revealing Thinking Process: Watching Experts' Live Coding Videos With Reflection Annotations」主題。共同形成了獨特的指紋。