scramble.answers {ProfessR} | R Documentation |
Scramble Answers
Description
Randomly rearrange answers within a question of a test bank
Usage
scramble.answers(Qbank)
Arguments
Qbank |
Question Bank (list of Questions) |
Details
Takes the given list of questions, and returns same list with answers scrambled.
Value
Question Bank List
Note
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')
Author(s)
Jonathan M. Lees<jonathan.lees@unc.edu>
See Also
Get.testbank
Examples
data(QBANK1)
QBANK1[[35]]
NEWQB = scramble.answers(QBANK1)
NEWQB[[35]]