summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/eqexam/examples/test01.tex
blob: 102b7b61e0b59052435703f82a3f14d40182c68f (plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[%
%    online, % try commenting out this option to get a paper document
%    nosolutions,
%    answerkey,
    vspacewithsolns,
    forcolorpaper,
    pointsonleft,totalsonright,noparttotals,
    coverpage,coverpagesumry=bypages
    ]{eqexam}

\title[T1]{Test 1}
\author{D. P. Story}
\subject[C1]{Calculus I}
\date{Spring \the\year}
\keywords{Test~1, Section 001}

\university
{%
      THE UNIVERSITY OF AKRON\\
    Theoretical and Applied Mathematics
}
\email{dpstory@uakron.edu}

\solAtEndFormatting{\eqequesitemsep{3pt}}
\turnContAnnotOn

\optsFillIn{\BC{0.847 0.847 0.847}}
\optsMlTextField{\BC{0.847 0.847 0.847}}
\eqExamName[\Ff\FfRequired\BC{0.847 0.847 0.847}]{2.25in}
\eqSID[\Ff\FfRequired\BC{0.847 0.847 0.847}]{2.25in}
\cpSetSumryWidth{.55\textwidth-1em}

\hfuzz = .7pt

\vspacewithkeyOn

\begin{document}
\maketitle


\begin{exam}[Part I.]{Part1}

\begin{instructions}[Part I.]
Solve each of the problems without error. If you make an error,
points will be subtracted from your total score.
\end{instructions}

\begin{problem}[5]
This is an example of a objective question, the student fills in
his/her response in the space below.

\begin{solution}[.5in]
The solution to the question. This solution will not appear when
the option \texttt{nosolutions} is specified. It will appear
immediately after the question with the \texttt{solutionsafter}
option, and appear at the end of the document if a solutions
option is not specified.
\end{solution}
\end{problem}


\begin{problem}[5]
An example of a fill-in question:
It is well known that \fillin{1in}{Newton} and
\fillin{1in}{Leibniz} are jointly credited as the founders of
modern calculus.

\begin{solution}
It is well known that \underbar{Newton} and \underbar{Leibniz} are
jointly credited as the founders of modern calculus.

\medskip\noindent\textbf{Notes.} Here the optional argument for
the \texttt{solution} environment is not specified, this implies
that no room should be left for the student to answer, seems
reasonable since this is a fill-in.
\end{solution}
\end{problem}

\begin{problem*}[2ea]
\textit{True} or \textit{False}.  No justification needed.

% Comment out this next line to see the effect.
\fillinWidth\defaultTFwidth

\begin{parts}

    \item[h] \TF{T} If triangles have $4$ sides, then all monkeys
    are green. Now is the time for all good men to come to the aid
    of their country.

\begin{solution}
    This is the solution, let's hope it's correct, or I would be
    embarrassed to no end. Now is the time for all good men to
    come to the aid of their country.

    \medskip\noindent\textbf{Notes.} This \texttt{\string\item}
    has an optional argument `\texttt{[h]}', so the
    solution will not appear at the end of the document when there
    is no solutions option, but will appear when
    \texttt{solutionsafter} is specified. The
    \texttt{nohiddensolutions} option can override this feature.
\end{solution}

    \item[H] \TF{T} $1+1=3$ iff $\sqrt2$ is a rational number. Now
    is the time for all good men to come to the aid of their
    country.

\begin{solution}
    \textbf{Notes.} This \texttt{\string\item} has an optional
    argument `\texttt{[H]}', so the solution will not appear at
    the end of the document when there is no solutions option, nor
    does it appear when \texttt{solutionsafter} is specified. The
    \texttt{noHiddensolutions} option can override this feature.
\end{solution}

    \item[h] \TF{F} $(\forall x)(\exists y)(xy>1)$\hskip1em($x$,
    $y$~real numbers). Now is the time for all good men to come to
    the aid of their country.
\begin{solution}
This is a tough solution.
\end{solution}

    \item[h] \TF{F} $(\forall x)(\exists y)(\forall z)(z(x+y)>0)$,
        \hskip1em($x$,~$y$, and~$z$ real numbers).
\begin{solution}
This is a tough solution.
\end{solution}

\end{parts}
\end{problem*}

\begin{problem*}[\auto]
Here is an example of a auto calculate problem. It takes the
optional argument `\texttt{[\string\auto]}'. You specify the
points associated with each part using the \texttt{\string\PTs}
command.

\begin{parts}

\item \PTs{10} This a hard one!

\begin{solution}[.75in]
This is a tough solution.
\end{solution}

\item \PTs{5} This one is ``half'' as hard.

\begin{solution}[\sameVspace]
This solution is easy.
\end{solution}

\end{parts}
\end{problem*}

%\newpage


\begin{problem*}[\auto] \sqForms
Select the correct answer for each of the following multiple
choice. There is only one correct answer.
\begin{parts}[2]

    \item\PTs{6} In what year did Columbus sail the ocean blue?
    \begin{answers}{2} % specify tabular any with 6 columns
    \bChoices
        \Ans0 1490\eAns
        \Ans0 1491\eAns
        \Ans1 1492\eAns
        \Ans0 1493\eAns
    \eChoices
    \end{answers}
\begin{solution}
    Yes, Columbus sailed the ocean blue in 1492.
\end{solution}
&%
    \item\PTs{4} In what year did Columbus sail the ocean blue?
    \begin{answers}{1} % specify a list environment.
    \bChoices
        \Ans0 1490\eAns
        \Ans0 1491\eAns
        \Ans1 1492\eAns
        \Ans0 1493\eAns
    \eChoices
    \end{answers}
\begin{solution}
    Yes, Columbus sailed the ocean blue in 1492.
\end{solution}
\end{parts}
\end{problem*}


\begin{problem}[5]
Which of the following best describes Augustin Cauchy?

\sqForms % change this multiple choice to a forms style.

%\begin{multicols}{2}

% use two columns

\begin{answers}{1} % an argument of 1 means list style
\bChoices
    \Ans0 He developed the Calculus while his University was closed
          for the plague.\eAns % Newton

    \Ans0 Given credit for first using the functional notation
          $f(x)$.\eAns % Euler

    \Ans0 He created the ``bell-shaped curve'' and first used the
          method of least squares.\eAns  % Gauss

    \Ans1 He first formulated a precise definition of the limit
          and continuity of a function.\eAns  % Cauchy

    \Ans0 Gave a rigorous definition of the definite integral---an
          integral that now bears his name.\eAns  % Riemann

    \Ans0 His notation for the derivative and the integral is used
         even to this day.\eAns % Leibnitz
\eChoices

\end{answers}

%\end{multicols}

\begin{solution}
This is a solution to a problem question.
\end{solution}

\end{problem}

\begin{problem}[5]
Which of the following are primary colors?
    \begin{manswers}{6} % specify tabular any with 6 columns
        \bChoices
            \Ans1 Blue\eAns
            \Ans0 Green\eAns
            \Ans1 Yellow\eAns
            \Ans0 Orange\eAns
            \Ans1 Red\eAns
        \eChoices
    \end{manswers}
\begin{solution}
    Yes, Columbus sailed the ocean blue in 1492.
\end{solution}
\end{problem}

% We remove this problem if the online option is taken.
\ifeqeonline\else
\begin{problem}[3]
This is a question.  Work \OnBackOfPage, and be quick about it!
\begin{solution}[1in]
This is the solution, let's hope it's correct, or I would be
embarrassed to no end.
\end{solution}
%
% This example illustrates the use of the work area. Place the
% \texttt{workarea} environment just below the \texttt{solution} environment, it's
% parameter must be the same as the one specified by \texttt{solution}. The material
% in the \texttt{workarea} environment will lay on top the vertical space generated above,
% when the \texttt{nosoutions} option is specified; otherwise, it does nothing.
%
\begin{workarea}[.5\linewidth]{1in}
Peter piper picked a peck of pickled peppers, how many pecks of pickled
peppers did Peter Piper pick?
%
\vfill\hfill\setlength{\fboxsep}{6pt}\fbox{Answer: \fillin[b]{1in}{17}}
\end{workarea}
\end{problem}
\fi

% The previous solution works well for paper publications, however, when the online
% or email option is taken, a text field is created for the student to type into,
% the graphics and text are superimposed on top this text field, so the student
% types over these elements, not a good solution in this case.
%
% The next example illustrates a work around. It works for both paper and for online
% documents.

\begin{problem}[5]
This is a question worth $5$ points.

\begin{splitsolution}
\begin{panel}\relax
\includegraphics[scale=.2]{fig1}
\end{panel}
\begin{solution}[1in]
This a really good  solution. I hope this solution is correct or I will be total
embarrassed to no end. Even if it is wrong, maybe the students will appreciate
my tremendous effort. You can see from the figure that the solution is obvious.
What is less obvious is why this works!
\end{solution}
\end{splitsolution}
\end{problem}

% Here is the same layout, but without the computation of the figure width and height
% Here I set the width to 1in and the depth to 1.25in.

\begin{problem}[7]
This is a question worth $7$ points.

\begin{splitsolution}[1.25in]
\begin{panel}\relax
\includegraphics[scale=.2]{fig1}
\end{panel}
\begin{solution}
This a really good  solution. I hope this solution is correct or I will be total
embarrassed to no end. Even if it is wrong, maybe the students will appreciate
my tremendous effort. You can see from the figure that the solution is obvious.
What is less obvious is why this works!
\end{solution}
\end{splitsolution}
\end{problem}


% This example illustrates multiple part a question

\begin{problem*}[10ea]
Answer each of the following questions.
\begin{parts}
\item This is a question.

%\sbox{\eqpanelbox}{\includegraphics[scale=.2]{fig1}}

%\previewtrue

\begin{splitsolution}
\begin{panel}[r]
\includegraphics[scale=.2]{fig1}
\end{panel}
\begin{solution}
This a really good  solution. I hope this solution is correct or I will be total
embarrassed to no end. Even if it is wrong, maybe the students will appreciate
my tremendous effort. You can see from the figure that the solution is obvious.
What is less obvious is why this works!
\end{solution}
\end{splitsolution}

\item This is a question.
\begin{solution}[.75in]
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
Now is the time for all good men to come to the aid of their country.
\end{solution}
\end{parts}
\end{problem*}

% The next problem falls at the bottom of the the page, so I'll increment
% \nbaselineskip from 6\baselineskip, the default, to 7\baselineskip.
% This is enough to move the problem to the next page.

\nbaselineskip{7}

% This example illustrates multiple part a question using the multicol package

\begin{problem*}[12]
Solve each of the following. Work \OnBackOfPage.
\begin{multicols}{2}



\begin{parts}
\item This is a question.  Be sure you don't make any error, I'm watching.

\begin{solution}[1in]
This is the solution.
\end{solution}

\item This is a question.
\begin{solution}[\sameVspace]
This is the solution.
\end{solution}

\item This is a question.
\begin{solution}[\sameVspace]
This is the solution.
\end{solution}

\item This is a question.
\begin{solution}[\sameVspace]
This is the solution.
\end{solution}
\end{parts}
\end{multicols}
\end{problem*}

\end{exam}

\begin{exam}[Part II.]{Part2}

\begin{instructions}[Part II.]
The following is a short review of previously mastered material.
\end{instructions}

\begin{problem}[5]
This is a question.
\begin{solution}[.5in]
This is the solution to answer all questions.
\end{solution}
\end{problem}

\begin{problem}[7]
This is a question.
\begin{solution}[.5in]
This is the solution to answer all questions.
\end{solution}
\end{problem}

\begin{problem}[8]
This is a question.
\begin{solution}[1in]
This is the solution to answer all questions.
\end{solution}
\end{problem}

\begin{problem}[5]
This is a question.
\begin{solution}[1in]
This is the solution to answer all questions.
\end{solution}
\end{problem}

\begin{problem}[10]
This is a question.
\begin{solution}[1in]
This is the solution to answer all questions.
\end{solution}
\end{problem}

\begin{problem}[5]
This is a question.
\begin{solution}[1in]
This is the solution to answer all questions.
\end{solution}
\end{problem}

\begin{problem}[10]
This is a question.
\begin{solution}[1in]
This is the solution to answer all questions.
\end{solution}
\end{problem}
\end{exam}

\end{document}