Automatic generation of exams based on exercises in Markdown or LaTeX format, possibly including R code for dynamic generation of exercise elements. Exercise types include single-choice and multiple-choice questions, arithmetic problems, string questions, and combinations thereof (cloze). Output formats include standalone files (PDF, HTML, Docx, ODT, ...), Moodle XML, QTI 1.2, QTI 2.1, Blackboard, Canvas, OpenOlat, ILIAS, TestVision, Particify, ARSnova, Kahoot!, Grasple, and TCExam. In addition to fully customizable PDF exams, a standardized PDF format (NOPS) is provided that can be printed, scanned, and automatically evaluated.
A One-for-All Exams Generator
The open-source R package 'exams' provides a one-for-all approach to automatic exams generation. Based on exercise templates large numbers of personalized exams/quizzes/tests can be created for various systems: PDFs for classical written exams (with automatic evaluation), imports for learning management systems (like Moodle, Canvas, OpenOlat, or Blackboard), live voting (via ARSnova or Particify), and custom output in PDF, HTML, Docx, etc.
The stable version of the R package exams is available from
CRAN. It can be installed
from within R along with all of its dependencies via:
install.packages("exams", dependencies = TRUE)
In case, you need features or bug fixes from the latest development version, this can be installed from R-universe:
install.packages("exams", repos = "https://zeileis.R-universe.dev")
In addition to the R packages some further tools (like Pandoc or Ghostscript) may be needed, depending on the tasks that R/exams should carry out. See the installation tutorial, linked below, for more details.
Follow the tutorials on:
Subsequently, start creating:
See also the available video tutorials on YouTube.
The package is available under the General Public License version 3 or version 2