Hi.
I want to write a multiple choice question bank LateX. Suppose there are 100 questions in the question database containing 20 questions from physics, 20 questions from chemistry, 20 > questions from biology, 20 questions from mathematics and 20 questions from statistics.
I want to write a latex program that can randomly generate a question paper containing 30 questions (taking at least 5 questions each from physics, chemistry, biology, mathematics, statistics). I can't find any solution.
Please help me.
Thank you.