Version 1/2
-
Next » -
Current version
Pieter Van den Hombergh, 04/06/2014 05:37 pm
AMC used in a DRY way¶
An old colleague once turned the often used phrase copy and paste into copy and waste which is true in many cases.
My experience with LaTeX and making exams with LaTeX is to put each question into a file on its own and then
reuse it in other exam. That way, adding 25\% of questions per year will give you an ever larger base of questions.
Combining that into a AMC exam is a s simple as pie. Just input the files in a AMC \element.
I have several courses (topics) for which I have to prepare exams.
I keep all the questions organised in a directory per topic.
To not to pollute the MC-projects directory (as in copy and wast), In my exam I add
something like a QuestionBaseDir and use that to input all questions as well as inside questions
to for instance fetch pictures.
\newcommand\QuestionBaseDir{/home/hom/fthv/hi/sen1/examquestionsmk2}
In a question I would use the same like this: (For a UML horizontal extends symbol inline).
\newcommand\extends{\includegraphics[height=1.5ex]{\QuestionBaseDir/figures/extends.pdf}}
Same for including tables, code listings for programming courses, my institutes logo etc.