Suppose I want to design a math exam to be posted as a single PDF file, for example one asking students to solve $ax^2+bx+c=0$. But I want each student who gets the PDF file to see a different set of $a,b,c$ values upon opening their files. Is such a thing possible?
For example, can a random seed that is taken from the time of opening of the file or some factor related to the computer of the recipient set the values of $a,b,c$?
And in addition, I prefer that the seed is generated only once, so that on the second reopening of the same file the student sees what s/he saw the first time. Is this possible?
What is the preferred/easier alternative to PDF?
EDIT:
I realized that the scheme is not safe. In the sense that a student can write any convenient $abc$ and claim that that is the random number generated for him!
So here is a modification: Student enters his ID number in a form field and presses a button. Out comes $a,b,c$. This will be reproducible and each student gets a different set and upon reloading the same numbers will show.
Would the resulting PDF be a security issue or one that will exhibit many compatibility problems?
