@brusilovsky

Prompting for Comprehension: Exploring the Intersection of Explain in Plain English Questions and Prompt Writing

, , und . Proceedings of the Eleventh ACM Conference on Learning @ Scale, Seite 39–50. New York, NY, USA, Association for Computing Machinery, (15.07.2024)
DOI: 10.1145/3657604.3662039

Zusammenfassung

Learning to program requires the development of a variety of skills including the ability to read, comprehend, and communicate the purpose of code. In the age of large language models (LLMs), where code can be generated automatically, developing these skills is more important than ever for novice programmers. The ability to write precise natural language descriptions of desired behavior is essential for eliciting code from an LLM, and the code that is generated must be understood in order to evaluate its correctness and suitability. In introductory computer science courses, a common question type used to develop and assess code comprehension skill is the 'Explain in Plain English' (EiPE) question. In these questions, students are shown a segment of code and asked to provide a natural language description of that code's purpose. The adoption of EiPE questions at scale has been hindered by: 1) the difficulty of automatically grading short answer responses and 2) the ability to provide effective and transparent feedback to students. To address these shortcomings, we explore and evaluate a grading approach where a student's EiPE response is used to generate code via an LLM, and that code is evaluated against test cases to determine if the description of the code was accurate. This provides a scalable approach to creating code comprehension questions and enables feedback both through the code generated from a student's description and the results of test cases run on that code. We evaluate students' success in completing these tasks, their use of the feedback provided by the system, and their perceptions of the activity.

Beschreibung

Prompting for Comprehension: Exploring the Intersection of Explain in Plain English Questions and Prompt Writing | Proceedings of the Eleventh ACM Conference on Learning @ Scale

Links und Ressourcen

Tags

Community

  • @brusilovsky
  • @dblp
@brusilovskys Tags hervorgehoben