As was noted in the section on multiple choice answer types, because multiple choice is a LaTeX level environment, it can’t really deal with randomization very well. Indeed, you can randomize the content, but which answer is marked as “correct” is inevitably the same because it is flagged at the LaTeX level.

Randomizing multipleChoice

Instead, we can design the problem by listing the possibilities, and then asking for which numbered entry is the correct one. For example:

Which of the following choices is ?
1:
2:
3:
4:
5:

Randomizing Select All

You can also randomize select all in two ways. The first is to just do the same as above, but use the powers of 2 (or any base larger than 2) for the enumeration and ask for the sum, which would sum to a unique value. For example:

Which of the following choices is not ?
1:
2:
4:
8:
16:

Add up the numbers that correspond to the correct answers, and enter that sum into the box:

Perhaps a more natural (and less prone to error) option however, is to use letters as the enumeration and then have students type in the string of those letters as so:

Which of the following choices is and ?
a
b
c
d
e

Type in the letters that correspond to the answer - remember to just give the letters, no white space or commas or anything of the like.