| 1 |
\documentclass{article} |
| 2 |
\usepackage[allowrandomize,nosolutions, |
| 3 |
forpaper,pointsonleft,noparttotals]{eqexam} |
| 4 |
\usepackage[usedbapp]{ran_toks} |
| 5 |
|
| 6 |
%\rtdebugtrue |
| 7 |
|
| 8 |
% This file is not compiled directly, but by the file ctrl-build.tex, see that file for details |
| 9 |
\input{build-info} |
| 10 |
|
| 11 |
\uniqueXDBChoicesOn |
| 12 |
\InputUsedIDs |
| 13 |
|
| 14 |
\title[T\nExam]{Test \nExam} |
| 15 |
\author{D. P. Story} |
| 16 |
\subject[MC]{My Course} |
| 17 |
\date{Spring \the\year} |
| 18 |
\keywords{Test~\nExam, Section 001} |
| 19 |
\altTitle{Section~% |
| 20 |
\if\selVersion A01\else |
| 21 |
\if\selVersion B02\else |
| 22 |
\if\selVersion C03\else |
| 23 |
04\fi\fi\fi\space(Version~\selVersion)} |
| 24 |
|
| 25 |
\makeInfoAWarning |
| 26 |
|
| 27 |
\university |
| 28 |
{% |
| 29 |
THE UNIVERSITY OF AKRON\\ |
| 30 |
Theoretical and Applied Mathematics |
| 31 |
} |
| 32 |
\email{[email protected]} |
| 33 |
|
| 34 |
% Input the DB files used in the demo file |
| 35 |
\useTheseDBs{db1,db2,db3,db4} |
| 36 |
|
| 37 |
\begin{document} |
| 38 |
|
| 39 |
\maketitle |
| 40 |
|
| 41 |
\begin{exam}{Part1} |
| 42 |
|
| 43 |
\begin{instructions} |
| 44 |
Solve each without error. Passing is 100\%. |
| 45 |
|
| 46 |
\medskip\noindent |
| 47 |
This part demonstrates how to not only randomly pull problems (two from each of the DB files), but |
| 48 |
to randomize the order they are listed in the exam. |
| 49 |
\end{instructions} |
| 50 |
|
| 51 |
\ranToks{myExam} |
| 52 |
{% |
| 53 |
{\useRanTok[DB1]{1}} |
| 54 |
{\useRanTok[DB2]{1}} |
| 55 |
{\useRanTok[DB3]{1}} |
| 56 |
{\useRanTok[DB4]{1}} |
| 57 |
} |
| 58 |
\displayListRandomly{myExam} |
| 59 |
|
| 60 |
\end{exam} |
| 61 |
|
| 62 |
\end{document} |