scramble.answers | R Documentation |
Randomly rearrange answers within a question of a test bank
scramble.answers(Qbank)
Qbank |
Question Bank (list of Questions) |
Takes the given list of questions, and returns same list with answers scrambled.
Question Bank List
Since some question require that the answers be ordered in a certain way, these are not Randomized in this scrambling process. These include:
c("all of the above",
"none of the above",
"None of these are correct",
"all of the choices are correct",
"All of the choices are correct",
"Both choices are correct",
"None of the choices are correct",
"Both of the choices are correct",
"All of these are correct",
'Neither of these are correct')
Jonathan M. Lees<jonathan.lees@unc.edu>
Get.testbank
data(QBANK1)
QBANK1[[35]]
NEWQB = scramble.answers(QBANK1)
NEWQB[[35]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.