PREP 2015 Question Authoring - Archived

Randomizing the order of the questions

Re: Randomizing the order of the questions

by Davide Cervone -
Number of replies: 0
Many (many) years ago I had a hack to do this. You can find it in the macros/Union/ file. Look for the includeRandomProblem() routine. I have no idea if it still works, though, as the mechanisms that is uses have changed considerably since then.

The idea was that you would make one problem file that contained includeRandomProblem(file1,file2,...) where file1, file2, etc. where the file locations of the questions that you wanted to use (randomly) in your homework set. Then you add that problem to your set as many times as you want (up to the number of files listed). If you listed N files and included that in your homework set M times, then you would get M randomly chosen (and ordered) problems out of the N.

Anyway, you can give it a try and see if it still works.
Of course, this makes the statistics page for the homework set rather meaningless. :-)