exams2olat: Legacy Generation of Exams for OpenOlat (Uni Innsbruck)

View source: R/exams2olat.R

exams2olatR Documentation

Legacy Generation of Exams for OpenOlat (Uni Innsbruck)

Description

Old legacy interface for producing QTI 1.2 (rather than QTI 2.1) exams for OpenOlat at Uni Innsbruck. By now superseded by exams2openolat.

Usage

exams2olat(
  file,
  n = 1L,
  dir = ".",
  name = "olattest",
  maxattempts = 1L,
  cutvalue = 1000,
  solutionswitch = FALSE,
  stitle = "Aufgabe",
  ititle = "Frage",
  adescription = "Bitte bearbeiten Sie folgende Aufgaben.",
  sdescription = "Bitte beantworten Sie folgende Frage.",
  eval = list(partial = FALSE, negative = FALSE),
  ...
)

Arguments

file

list, of md/Rmd files to be used

n

integer, number of randomized tests to be created (default 1L)

dir

character, where to store the resulting file(s) (default .)

name

character name of the test/quiz

maxattempts

integer, he maximum attempts for one question (must be smaller than 100000L).

cutvalue

numeric, the cutvalue at which the exam is passed

solutionswitch

logical Should the question/item solutionswitch be enabled? In OLAT this means that the correct solution is shown after an incorrect solution was entered by an examinee (i.e., this is typically only useful if maxattempts = 1).

stitle

character A title that should be used for the sections. May be a vector of length 1 to use the same title for each section, or a vector containing different section titles.

ititle

character A title that should be used for the assessment items. May be a vector of length 1 to use the same title for each item, or a vector containing different item titles. Note that the maximum of different item titles is the number of sections/questions that are used for the exam.

adescription

character Description (of length 1) for the overall assessment (i.e., exam).

sdescription

character Vector of descriptions for each section.

eval

named list, specifies the settings for the evaluation policy, see function exams_eval

...

forwarded to exams2qti12

Details

exams2olat is the old convenience interface to produce QTI 1.2 tests/exams for OpenOlat. It has been superseded by exams2openolat which offers more options and flexibility.


c403 documentation built on Oct. 20, 2023, 3:01 p.m.