Engaging Students with Instructor Solutions in Online Programming Homework

Link to full Paper

Abstract: Students working on programming homework do not receive the same level of support as in the classroom, relying primarily on automated feedback from test cases. One low-effort way to provide more support is by prompting students to compare their solution to an instructor’s solution, but it is unclear the best way to design such prompts to support learning. We designed and deployed a randomized controlled trial during online programming homework, where we provided students with an instructor’s solution, and randomized whether they were prompted to compare their solution to the instructor’s, to fill in the blanks for a written explanation of the instructor’s solution, to do both, or neither. Our results suggest that these prompts can effectively engage students in reflecting on instructor solutions, although the results point to design trade-offs between the amount of effort that different prompts require from students and instructors, and their relative impact on learning.