mc {moodlequizR}R Documentation

mc

Description

This function generates the code for a multiple choice CLOZE question

Usage

mc(options, w, which.true, pts = 1)

Arguments

options

vector of choices

w

vector of weights

which.true

either which of the options gets 100 or a logical value TRUE=first option, False=second option

pts

how many points is question worth?

Value

a list with the elements for qmc and amc

Examples

mc(c("Yes", "No"), c(100, 0), 10)

[Package moodlequizR version 2.1.1 Index]