Investigating the Impact of On-Demand Code Examples on Novices' Open-Ended Programming Experience
Open-ended programming projects encourage novice students to choose and pursue projects based on their own ideas and interests, and are widely used in many introductory programming courses. However, novice programmers encounter challenges exploring and discovering new ideas, implementing their ideas, and applying unfamiliar programming concepts and APIs. Code examples are one of the primary resources students use to apply code usage patterns and learn API knowledge, but little work has investigated the effect of having access to code examples on students’ open-ended programming experience. In this work, We evaluate the impact of code examples on open-ended programming, through a study with 46 local high school students in a full-day coding workshop. I conducted a controlled study, where half of the students had full access to 37 code examples using an example browser system called Example Helper, and the other half had 5 standard, tutorial examples. We found that students who had access to all 37 code examples used a significantly larger variety of code APIs, perceived the programming as relatively more creative, but also experienced a higher task load. We also found weak evidence of a better post-assignment performance from the Example Helper group, showing that some students were able to learn and apply the knowledge they learned from examples to a new programming task. My results show that having access to code examples during open-ended programming helped students become more creative, build projects with a larger variety of APIs, and learn new knowledge for future tasks.
Thu 10 AugDisplayed time zone: Central Time (US & Canada) change
15:15 - 16:30 | |||
15:15 25mTalk | Investigating the Impact of On-Demand Code Examples on Novices' Open-Ended Programming Experience Research Papers Wengran Wang North Carolina State University, John Bacher North Carolina State University, Amy Isvik North Carolina State University, Ally Limke North Carolina State University, Sandeep Sthapit North Carolina State University, Yang Shi North Carolina State University, Benyamin Tabarsi North Carolina State University, Keith Tran North Carolina State University, Veronica Catete North Carolina State University, Tiffany Barnes North Carolina State University, Chris Martens North Carolina State University, Thomas Price North Carolina State University | ||
15:40 25mTalk | An Empirical Evaluation of Live Coding in CS1 Research Papers Anshul Shah University of California, San Diego, Emma Hogan University of California, San Diego, Vardhan Agarwal University of California, San Diego, John Driscoll University of California, San Diego, Leo Porter University of California San Diego, William G. Griswold University of California San Diego, Adalbert Gerald Soosai Raj University of California, San Diego | ||
16:05 25mTalk | Evaluating Distance Metrics for Program Repairs Research Papers Charles Koutcheme Aalto University, Sami Sarsa Aalto University, Juho Leinonen The University of Auckland, Lassi Haaranen Aalto University, Arto Hellas Aalto University |