A Framework for Generating Diverse Haskell-IO Exercise Tasks

Oliver Westphal
8/28/2020
cs.SE

Official code: fmidue/IOTasks (6 stars, Haskell, last commit 2026-07-18).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

fmidue/IOTasksOfficial100%

Specification language for Haskell programs of type 'IO ()'

61HaskellMar 17, 20204 months agoNOASSERTION

Similar Papers

Cite this paper

@article{westphal2020framework,
  title  = {A Framework for Generating Diverse Haskell-IO Exercise Tasks},
  author = {Oliver Westphal},
  year   = {2020},
  eprint = {2008.12751},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.12751}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2008.12751.svg)](https://codeofpaper.com/paper/2008.12751)

Discussion