summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/examdesign/examplea.tex
blob: 117539930df79ba1aabb8ba66eae4450d0034cea (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
\documentclass[10pt]{examdesign}
\usepackage{amsmath}
\usepackage{pifont}
\SectionFont{\large\sffamily}
\Fullpages
\ContinuousNumbering
%\ShortKey
\DefineAnswerWrapper{}{}
\NumberOfVersions{3}
\IncludeFromFile{foobar.tex}

\class{{\Large An example of the \textsf{examdesign} class}}

\begin{document}

\begin{matching}[title={Musicology 101}]
  Match the following artists with the listed albums.
  \pair{Elvis Costello}{Spike}
  \pair{Nirvana}{Nevermind}
  \pair{Love and Rockets}{Earth, Sun, Moon}
  \pair{The Jesus and Mary Chain}{Automatic}
  \pair{The Dave Matthews Band}{Under the Table and Dreaming}
  \pair{Jesus Jones}{Doubt}
  \pair{Ned's Atomic Dustbin}{Godfodder}
  \pair{The Cult}{Sonic Temple}
  \pair{Soundgarden}{Louder than Love}
  \pair{Pink Floyd}{The Wall}
  \pair{Andrew Lloyd Weber}{Soundtrack to `Cats'}
\end{matching}

\begin{truefalse}[title={True/False (5 pts each)},
                  resetcounter=yes,suppressprefix]
  Ho, hum, another batch of instructions.  But this time we will make them a
  little shorter, because we assume that students realize what they should do.

\begin{question}
  \answer{True} This sentence is not false.
\end{question}

\begin{block}
  I don't know why you'd need this, but here is a block of true/false
  questions. 
  \begin{question}
    \answer{True} `Roger \& Me' chronicles one man's attempt to get into
    Disneyland so that he can visit Toontown.
  \end{question}
  
  \begin{question}
    \answer{False} Laden swallows fly faster than unladen swallows, unless
    they carry coconuts.
  \end{question}
\end{block}

\begin{question}
  \answer{True} `Monty Python and the Holy Grail' is a very funny movie.
\end{question}

\begin{question}
  \answer{False} All animals are created equal, but some animals are more
  equal than others.
\end{question}
\end{truefalse}

\begin{fillin}[title={Fill in the blank (5 pts each)}]
  Here is a place where you can put some instructions, so that the students
  won't get confused when they see a piece of paper with a whole bunch of
  questions on it.  Of course, the instructions aren't required to
  be \emph{that} lengthy, but you can make them as lengthy as you want so that
  people know what you are talking about.

\begin{question}
  How much \blank{wood} would a \blank{woodchuck} chuck, if a \blank{woodchuck}
  would \blank{chuck}, wood?
\end{question}

\begin{question}
  \blank{Wittgenstein}'s first work was the \textsl{Tractatus-\blank{Logico}
  Philosophicus}.
\end{question}

 \begin{block}
   I don't know why you'd need this, but here is a block of fill-in-the-blank
   questions. 
  \begin{question}
    \blank{Hobbes} thought that without a strong, \blank{centralized},
    effective government, chaos would reign in the state of nature.
  \end{question}

  \begin{question}
    One main component of Nietzche's moral philosophy is the \blank{will to
      power}.
  \end{question}
\end{block}

\begin{question}
  Mill's theory of morality is known as \blank{Utilitarianism}
\end{question}

\begin{question}
  According to Kant, we should always always always follow the
  \blank{categorical} imperative.
\end{question}
\end{fillin}

\begin{multiplechoice}[title={A title}, resetcounter=no]
These are meant to be multiple-choice questions --- the type you would give
students to fill out using scantrons (or whatever you call the number-2 pencil
automatic grading machines).

\begin{question}
  How many people live in Wales?
    \choice[!]{Approximately 2,811,865.}
    \choice{More than in most countries.}
    \choice{None.}
    \choice{Exactly seventeen.}
\end{question}

\begin{question}
  How many cows does it take to graze a field?
  \choice{One.}
  \choice[!]{Two.}
  \choice{Three.}
  \choice{Four}
\end{question}

\begin{question}
  This is a question.  Which is the correct answer? \ding{217} \hfill
  \fbox{ \large\ding{51} }
  \choice[!]{ \hfill \fbox{  }}
  \choice{ \hfill \fbox{  }}
  \choice{ \hfill \fbox{  }}
  \choice{ \hfill \fbox{  }}
  \choice{ \hfill \fbox{  }}  
\end{question}

\begin{block}
  Here is a block of multiple choice questions.
  \begin{question}
    The official state motto of Idaho is?
    \choice{``We're friendly than other states.''}
    \choice{``Home of the Unabomber.''}
    \choice[!]{``Famous Potatoes.''}
    \choice{``Try us, you'll like us.''}
  \end{question}

  \begin{question}
    What philosopher declared that human beings are the conduit
    through which language passes?
    \choice{Martha Stewart}
    \choice{Jacques Derrida}
    \choice[!]{Martin Heidegger}
    \choice{Jacques Cousteau}
  \end{question}
\end{block}

  \begin{question}
    How many elves does it take to mine tin?
    \choice{One.}
    \choice[!]{Two.}
    \choice{Three.}
    \choice{Four}
  \end{question}
\end{multiplechoice}

\begin{shortanswer}[title={Short Answer (10 pts each)},
                    rearrange=yes,resetcounter=no]
This is an example of the \textsf{shortanswer} type of question, where the
questions are rearranged between tests.

\begin{question}
  Here is an equation:
  \begin{align}
    f(x) &= h(x)\\
    g(x) &= j(x)
  \end{align}
  `Twas brillig, and the slithy toves  did gyre and gimble in the wabe;
  All mimsy were the borogoves, and the mome raths outgrabe.
  \InsertChunk{Sample program no. 1}
  \begin{answer}
    Ask Lewis Carroll.
  \end{answer}
\end{question}

\begin{block}[questions=2]
  The first question is \thefirst\ and the last is \thelast.  The quick brown
  fox jumped over the lazy dogs.  The quick brown fox jumped over the lazy
  dogs.  The quick brown fox jumped over the lazy dogs.  The quick brown fox
  jumped over the lazy dogs.  The quick brown fox jumped over the lazy dogs.

  \begin{question}
    As you saw in equation in question---
    `Beware the Jabberwock, my son!  The jaws that bite, the claws that catch!
    Beware the Jubjub bird, and shun the frumious Bandersnatch!'
    \begin{answer}
      Ask Lewis Carroll.
    \end{answer}
  \end{question}

  \begin{question}
    He took his vorpal sword in hand: long time the manxome foe he sought --
    so rested he by the Tumtum tree,  and stood awhile in thought.
    \begin{answer}
      Ask Lewis Carroll.
    \end{answer}
  \end{question}
\end{block}

\begin{question}
  And as in uffish thought he stood, the Jabberwock, with eyes of flame,
  came whiffling through the tulgey wood, and burbled as it came!
  \begin{answer}
    Ask Lewis Carroll.
  \end{answer}
\end{question}

\begin{question}
  One, two! One, two! And through and through the vorpal blade went snicker-snack!
  He left it dead, and with its head he went galumphing back.
  \begin{answer}
    Ask Lewis Carroll.
  \end{answer}
\end{question}

\begin{question}
  `And has thou slain the Jabberwock? Come to my arms, my beamish boy!
  O frabjous day! Calooh! Callay!' He chortled in his joy.
  \begin{answer}
    Ask Lewis Carroll.
  \end{answer}
\end{question}

\begin{question}
  `Twas brillig, and the slithy toves did gyre and gimble in the wabe;
  all mimsy were the borogoves, and the mome raths outgrabe.
  \begin{answer}
    Ask Lewis Carroll.
  \end{answer}
\end{question}

\begin{question}
  And as in uffish thought he stood, the Jabberwock, with eyes of flame,
  came whiffling through the tulgey wood, and burbled as it came!
  \begin{answer}
    Ask Lewis Carroll.
  \end{answer}
\end{question}

\begin{question}
  One, two! One, two! And through and through the vorpal blade went snicker-snack!
  He left it dead, and with its head he went galumphing back.
  \begin{answer}
    Ask Lewis Carroll.
  \end{answer}
\end{question}

\begin{question}
  `And has thou slain the Jabberwock? Come to my arms, my beamish boy!
  O frabjous day! Calooh! Callay!' He chortled in his joy.
  \begin{answer}
    Ask Lewis Carroll.
  \end{answer}
\end{question}

\begin{question}
  `Twas brillig, and the slithy toves did gyre and gimble in the wabe;
  all mimsy were the borogoves, and the mome raths outgrabe.
  \begin{answer}
    Ask Lewis Carroll.
  \end{answer}
\end{question}

\begin{question}
  And as in uffish thought he stood, the Jabberwock, with eyes of flame,
  came whiffling through the tulgey wood, and burbled as it came!
  \begin{answer}
    Ask Lewis Carroll.
  \end{answer}
\end{question}

\begin{question}
  One, two! One, two! And through and through the vorpal blade went snicker-snack!
  He left it dead, and with its head he went galumphing back.
  \begin{answer}
    Ask Lewis Carroll.
  \end{answer}
\end{question}

\begin{question}
  `And has thou slain the Jabberwock? Come to my arms, my beamish boy!
  O frabjous day! Calooh! Callay!' He chortled in his joy.
  \begin{answer}
    Ask Lewis Carroll.
  \end{answer}
\end{question}

\begin{question}
  `Twas brillig, and the slithy toves did gyre and gimble in the wabe;
  all mimsy were the borogoves, and the mome raths outgrabe.
  \begin{answer}
    Ask Lewis Carroll.
  \end{answer}
\end{question}

\end{shortanswer}

 \end{document}