Generating Coding Exercises for Language Concepts by Searching, Simplifying, and Annotating Existing Code

Learning a new programming language is best done through coding exercises. However, manually creating coding exercises is time-consuming because there are many language syntax and concepts to cover. PraxisGen aims to alleviate the burden of problem creation by providing an interface to search, simpl...

Full description

Bibliographic Details
Main Author: Johanna, Stacia Edina
Other Authors: Miller, Rob
Format: Thesis
Published: Massachusetts Institute of Technology 2022
Online Access:https://hdl.handle.net/1721.1/144790
Description
Summary:Learning a new programming language is best done through coding exercises. However, manually creating coding exercises is time-consuming because there are many language syntax and concepts to cover. PraxisGen aims to alleviate the burden of problem creation by providing an interface to search, simplify, and annotate publicly available code to be used as exercises. By using the system, the user can create code examples for language concepts that represent real-life programs more efficiently because the system automates some parts of the process. The technical evaluation proves the ability of PraxisGen in finding a wide variety of language concepts, while the user study demonstrates that the system makes the process of creating high-quality exercise problems simpler.