powered by
This function generates the code for a multiple choice CLOZE question
mc(options, w, which.true, pts = 1)
a list with the elements for qmc and amc
vector of choices
vector of weights
either which of the options gets 100 or a logical value TRUE=first option, False=second option
how many points is question worth?
mc(c("Yes", "No"), c(100, 0), 10)
Run the code above in your browser using DataLab