Teaching the Art of Functional Programming Using Automated Grading (Experience Report)
Online programming platforms have immense potential to improve students’ educational experience. They make programming more accessible, as no installation is required; and automatic grading facilities provide students with immediate feedback on their code, allowing them to to fix bugs and address errors in their understanding right away. However, these graders tend to focus heavily on the functional correctness of a solution, neglecting other aspects of students’ code and thereby causing students to miss out on a significant amount of valuable feedback.
In this paper, we recount our experience in using the Learn-OCaml online programming platform to teach functional programming in a second-year university course on programming languages and paradigms. Moreover, we explore how to leverage Learn-OCaml’s automated grading infrastructure to make it easy to write more expressive graders that give students feedback on properties of their code beyond simple input/output correctness, in order to effectively teach elements of functional programming style. In particular, we describe our extensions to the Learn-OCaml platform that evaluate students on test quality and code style.
By providing these tools and a suite of our own homework problems and associated graders, we aim to promote functional programming education, enhance students’ educational experience, and make teaching and learning typed functional programming more accessible to instructors and students alike, in our community and beyond.
Wed 21 AugDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
16:50 - 18:00 | Lambda-Calculus & TeachingResearch Papers at Aurora Borealis Chair(s): Jonathan Protzenko Microsoft Research, Redmond | ||
16:50 23mTalk | Call-By-Need is Clairvoyant Call-By-Value Research Papers | ||
17:13 23mTalk | Teaching the Art of Functional Programming Using Automated Grading (Experience Report) Research Papers | ||
17:36 23mTalk | Lambda: the Ultimate Sublanguage (Experience Report) Research Papers DOI Pre-print |