[Tex/LaTex] Randomised LaTeX based multiple choice test

esamilistsrandom numbers

I would like to create a multiple choice test with LaTeX. It has the following boundary conditions:

  • 20 questions (q1q20) per test .
  • 20 students (s1s20) take the test, the order of the question should in general be different for every student.
  • The order of the possible answers should also vary between the students. So if question q1 of version s1 is question q5 of version s2, answer A of q1 in s1 should in general not be the same as answer A of q5 in s2.

I use MiKTex 2.9.

Best Answer

My collegue and I have written a package based on AcroTeX and probsoln which allows to do exactly what you want, using only latex. The package, named esami (the Italian word for exams) is available on CTAN.