一种生成多样化Haskell-IO练习题目的框架
A Framework for Generating Diverse Haskell-IO Exercise Tasks
AI总结:
该研究提出一种用Haskell编写的EDSL出题框架,基于自研I/O行为规约语言生成多样Haskell-I/O编程练习题模板并可随机实例化,节省教师时间、支持学生练习并减少抄袭。
摘要:
我们提出了一种框架设计,用于自动生成大量不同的Haskell-I/O编程练习题。自动出题有诸多用途:人工出题耗时,自动化可为教育工作者节省宝贵时间;结合自动评估系统,能让学生练习足够多的题目。此外,可给每位学生略有差异的题目版本,减少在线学习环境中自然出现的抄袭问题。我们的出题以早前工作中开发的I/O行为规约语言为核心。该出题框架是用Haskell编写的EDSL(嵌入式领域特定语言),提供强大原语,用于从规约生成程序代码等各类产物。本文不详述这些原语的技术实现,而是展示如何用这些产物及整个框架构建练习题模板,再(随机)实例化生成题目。
英文摘要:
We present the design of a framework to automatically generate a large range of different exercise tasks on Haskell-I/O programming. Automatic task generation is useful in many different ways. Manual task creating is a time consuming process, so automating it saves valuable time for the educator. Together with an automated assessment system automatic task generation allows students to practice with as many exercise tasks as needed. Additionally, each student can be given a slightly different version of a task, reducing issues regarding plagiarism that arise naturally in an e-learning environment. Our task generation is centered around a specification language for I/O behavior that we developed in an earlier work. The task generation framework, an EDSL in Haskell, provides powerful primitives for the creation of various artifacts, including program code, from specifications. We will not go into detail on the technical realization of these primitives. This article instead showcases how such artifacts and the framework as a whole can be used to build exercise tasks templates that can then be (randomly) instantiated.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。