Worked examples (solutions to typical programming problems presented as a source code in a certain language and are used to explain the topics from a programming class) are among the most popular types of learning content in programming classes. Most approaches and tools for presenting these examples to students are based on line-by-line explanations of the example code. However, instructors rarely have time to provide line-by-line explanations for a large number of examples typically used in a programming class. In this paper, we explore and assess a human-AI collaboration approach to authoring worked examples for Java programming. We introduce an authoring system for creating Java worked examples that generates a starting version of code explanations and presents it to the instructor to edit if necessary.We also present a study that assesses the quality of explanations created with this approach
翻译:示例解答(即特定编程语言中解决典型编程问题的源代码,用于解释编程课程中的知识点)是编程课程中最受欢迎的学习内容类型之一。当前,向学生呈现这些示例的大多数方法和工具都基于对示例代码的逐行解释。然而,讲师通常没有时间为编程课程中常用的大量示例提供逐行解释。在本文中,我们探索并评估了一种人机协同创作Java编程示例解答的方法。我们介绍了一个用于创建Java示例解答的创作系统,该系统能够自动生成代码解释的初始版本,并将其提供给讲师进行必要编辑。我们同时开展了一项研究,评估通过该方法创建的解释的质量。