GeneralExam building randomizing multiple choice answers

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Papas
Posts: 1
Joined: Wed May 20, 2009 9:55 pm

Exam building randomizing multiple choice answers

Post by Papas »

Im trying to make a multiple choice exam using the examdesign package. I would like to know if there is an easy way to randomize across versions not only the order of the questions but the order of the multiple choice ansewers in each question.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Exam building randomizing multiple choice answers

Post by localghost »

It is not necessary to open multiple topics for an identical request. If there is a solution, it will be posted to one topic.


Best regards and welcome to the board
Thorsten
PGScooter
Posts: 31
Joined: Mon Jul 14, 2008 2:47 pm

Re: Exam building randomizing multiple choice answers

Post by PGScooter »

Hi Papas,

You could do this using a scripting language-- for example, Perl, which is great for processing text. In fact, I just found a great tool called PerlTeX which allows you to integrate Perl and LaTeX.

check it out: http://www.ctan.org/tex-archive/macros/ ... b/perltex/
Post Reply