An Experience with and Reflections on Live Coding with Active Learning

Author Anders Schlichtkrull

Thumbnail PDF


  • Filesize: 0.66 MB
  • 13 pages

Document Identifiers

Author Details

Anders Schlichtkrull
  • Department of Computer Science, Aalborg University Copenhagen, Denmark


I thank my colleagues Kurt Nørmark and Jens Myrup Pedersen for providing me inspiration and ideas for changing the course and also for comments on an earlier version of this text. I thank my colleagues Johannes Bjerva, Søren Qvist Eliasen, Andrés Masegosa, David Maya-Drysdale and René Rydhof Hansen for discussions. I thank Aalborg University for giving me the opportunity to do this experiment as part of its University Pedagogical Program.

Cite AsGet BibTex

Anders Schlichtkrull. An Experience with and Reflections on Live Coding with Active Learning. In 4th International Computer Programming Education Conference (ICPEC 2023). Open Access Series in Informatics (OASIcs), Volume 112, pp. 14:1-14:13, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2023)


In this paper I report and reflect on a concrete experience with changing an introductory programming course from being based on "classical lectures" to being based on live coding with active learning. The experiment is built on learnings found in the literature and the pedagogical theories of scaffolding, think-pair-share and teaching as facilitation of learning. I reflect on the students' reaction to the experiment, the difficulty of the active learning, how to keep time, coverage of learning objectives, the degree of improvisation and student involvement. The experiment was well received by the students, and I report also on the feedback. My hope is that educators who want to introduce live coding with active learning will be able to draw inspiration from my preparation of, execution of and reflections on the experiment.

Subject Classification

ACM Subject Classification
  • Applied computing → Education
  • Live coding
  • active learning
  • teaching programming


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads


  1. Peter Dolog, Lone Leth Thomsen, and Bent Thomsen. Assessing problem-based learning in a software engineering curriculum using Bloom’s taxonomy and the IEEE software engineering body of knowledge. ACM Transactions on Computing Education (TOCE), 16(3):1-41, 2016. Google Scholar
  2. Alessio Gaspar and Sarah Langevin. Active learning in introductory programming courses through student-led “live coding” and test-driven pair programming. In International Conference on Education and Information Systems, Technologies and Applications, Orlando, FL, 2007. Google Scholar
  3. Alessio Gaspar and Sarah Langevin. Restoring "coding with intention" in introductory programming courses. In Proceedings of the 8th ACM SIGITE conference on Information technology education, pages 91-98, 2007. Google Scholar
  4. Jeri R. Hanly and Elliot B. Koffman. Problem solving and program design in C (8th edition, global edition). Pearson, 2015. Google Scholar
  5. Luke W Johnston, Madeleine Bonsma-Fisher, Joel Ostblom, Ahmed R Hasan, James S Santangelo, Lindsay Coome, Lina Tran, Elliott Sales de Andrade, and Sara Mahallati. A graduate student-led participatory live-coding quantitative methods course in R: Experiences on initiating, developing, and teaching. Journal of Open Source Education, 2(16):49, 2019. Google Scholar
  6. Anette Kolmos, Flemming K Fink, and Lone Krogh. The Aalborg PBL model: progress, diversity and challenges. Aalborg University Press Aalborg, 2004. Google Scholar
  7. Future Learn. Live coding., 2020. Accessed: 5. December 2021.
  8. Frank T. Lyman. The responsive classroom discussion: The inclusion of all students. Mainstreaming digest, 109:113, 1981. Google Scholar
  9. Alexander Nederbragt, Rayna Michelle Harris, Alison Presmanes Hill, and Greg Wilson. Ten quick tips for teaching with participatory live coding. PLOS Computational Biology, 16(9):1-7, September 2020. URL:
  10. Lex Nederbragt. A video introduction to live coding part 1., May 2016. Accessed: 3. December 2021.
  11. Lex Nederbragt. A video introduction to live coding part 2., May 2016. Accessed: 3. December 2021.
  12. John Paxton. Live programming as a lecture technique. J. Comput. Sci. Coll., 18(2):51-56, December 2002. Google Scholar
  13. Adalbert Gerald Soosai Raj, Jignesh M. Patel, Richard Halverson, and Erica Rosenfeld Halverson. Role of live-coding in learning introductory programming. In Mike Joy and Petri Ihantola, editors, Proceedings of the 18th Koli Calling International Conference on Computing Education Research, Koli, Finland, November 22-25, 2018, pages 13:1-13:8. ACM, 2018. Google Scholar
  14. Gabryella Rodrigues, Ana Francisca Monteiro, and António Osório. Introductory programming in higher education: A systematic literature review. In Alberto Simões and João Carlos Silva, editors, Third International Computer Programming Education Conference, ICPEC 2022, June 2-3, 2022, Polytechnic Institute of Cávado and Ave (IPCA), Barcelos, Portugal, volume 102 of OASIcs, pages 4:1-4:17. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2022. URL:
  15. Marc J Rubin. The effectiveness of live-coding to teach introductory programming. In Proceeding of the 44th ACM technical symposium on Computer science education, pages 651-656, 2013. Google Scholar
  16. John R. Savery. Overview of problem-based learning: Definitions and distinctions. Essential readings in problem-based learning: Exploring and extending the legacy of Howard S. Barrows, 9(2):5-15, 2015. Google Scholar
  17. Maggi Savin-Baden. What are problem-based pedagogies? Journal of Problem-Based Learning, 2020. Google Scholar
  18. Virginie Servant-Miklos. Problem-oriented project work and problem-based learning: "Mind the gap!". Interdisciplinary Journal of Problem-Based Learning, 14(1), 2020. Google Scholar
  19. Rob Wass and Clinton Golding. Sharpening a tool for teaching: the zone of proximal development. Teaching in Higher Education, 19(6):671-684, 2014. Google Scholar
  20. Greg Wilson. Software Carpentry: lessons learned. F1000Research, 3, 2014. Google Scholar
  21. Greg Wilson. Software Carpentry teaching demonstration., 2015. Accessed: 3. December 2021.
  22. David Wood, Jerome S. Bruner, and Gail Ross. The role of tutoring in problem solving. Child Psychology & Psychiatry & Allied Disciplines, 1976. Google Scholar