-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
51 lines (30 loc) · 1.24 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
This here code will output a script that will generate a
bunch of randomized exams.
##########################################################################
Written by by Christopher L Duston <[email protected]>
All rights reserved.
SEE LICENsE FILE FOR DETAILS
########################################################################
Instructions:
Too lazy for a makefile, compile with
gcc -o ExamRand ExamRand.c -lm -lgsl -lgslcblas
(yes, it does require GSL for the random number generation)
TEXFILE INSTRUCTIONS
This has only been tested with Philip Hirschorn's exam.cls class:
http://www-math.mit.edu/~psh/#ExamCls
In the tex file, write \Pa, \Pb, \Pc for the random variables.
In the parameter file, write max min steps for each of those variables.
The "steps" does nothing right now; maybe later it will be used
for something.
Invoke with something like
./ExamRand example_param_file 5 1
(5 exams, some debugging messages)
Make the script executable with something like
chmod u+x Example_Exam_Script
and then run it:
./Example_Exam_Script
(Might want to do that twice, since we are dealing with LaTeX
and points for each problem need to be updated)
Check the results
evince Example_Exam-*.pdf
(or your favorite pdf reader).