Debian Codegraph @

texmf-dist/doc/latex/examdesign/examplea.tex

raw
1 \documentclass[10pt]{examdesign}
2 \usepackage{amsmath}
3 \usepackage{pifont}
4 \SectionFont{\large\sffamily}
5 \Fullpages
6 \ContinuousNumbering
7 %\ShortKey
8 \DefineAnswerWrapper{}{}
9 \NumberOfVersions{3}
10 \IncludeFromFile{foobar.tex}
11
12 \class{{\Large An example of the \textsf{examdesign} class}}
13
14 \begin{document}
15
16 \begin{matching}[title={Musicology 101}]
17 Match the following artists with the listed albums.
18 \pair{Elvis Costello}{Spike}
19 \pair{Nirvana}{Nevermind}
20 \pair{Love and Rockets}{Earth, Sun, Moon}
21 \pair{The Jesus and Mary Chain}{Automatic}
22 \pair{The Dave Matthews Band}{Under the Table and Dreaming}
23 \pair{Jesus Jones}{Doubt}
24 \pair{Ned's Atomic Dustbin}{Godfodder}
25 \pair{The Cult}{Sonic Temple}
26 \pair{Soundgarden}{Louder than Love}
27 \pair{Pink Floyd}{The Wall}
28 \pair{Andrew Lloyd Weber}{Soundtrack to `Cats'}
29 \end{matching}
30
31 \begin{truefalse}[title={True/False (5 pts each)},
32 resetcounter=yes,suppressprefix]
33 Ho, hum, another batch of instructions. But this time we will make them a
34 little shorter, because we assume that students realize what they should do.
35
36 \begin{question}
37 \answer{True} This sentence is not false.
38 \end{question}
39
40 \begin{block}
41 I don't know why you'd need this, but here is a block of true/false
42 questions.
43 \begin{question}
44 \answer{True} `Roger \& Me' chronicles one man's attempt to get into
45 Disneyland so that he can visit Toontown.
46 \end{question}
47
48 \begin{question}
49 \answer{False} Laden swallows fly faster than unladen swallows, unless
50 they carry coconuts.
51 \end{question}
52 \end{block}
53
54 \begin{question}
55 \answer{True} `Monty Python and the Holy Grail' is a very funny movie.
56 \end{question}
57
58 \begin{question}
59 \answer{False} All animals are created equal, but some animals are more
60 equal than others.
61 \end{question}
62 \end{truefalse}
63
64 \begin{fillin}[title={Fill in the blank (5 pts each)}]
65 Here is a place where you can put some instructions, so that the students
66 won't get confused when they see a piece of paper with a whole bunch of
67 questions on it. Of course, the instructions aren't required to
68 be \emph{that} lengthy, but you can make them as lengthy as you want so that
69 people know what you are talking about.
70
71 \begin{question}
72 How much \blank{wood} would a \blank{woodchuck} chuck, if a \blank{woodchuck}
73 would \blank{chuck}, wood?
74 \end{question}
75
76 \begin{question}
77 \blank{Wittgenstein}'s first work was the \textsl{Tractatus-\blank{Logico}
78 Philosophicus}.
79 \end{question}
80
81 \begin{block}
82 I don't know why you'd need this, but here is a block of fill-in-the-blank
83 questions.
84 \begin{question}
85 \blank{Hobbes} thought that without a strong, \blank{centralized},
86 effective government, chaos would reign in the state of nature.
87 \end{question}
88
89 \begin{question}
90 One main component of Nietzche's moral philosophy is the \blank{will to
91 power}.
92 \end{question}
93 \end{block}
94
95 \begin{question}
96 Mill's theory of morality is known as \blank{Utilitarianism}
97 \end{question}
98
99 \begin{question}
100 According to Kant, we should always always always follow the
101 \blank{categorical} imperative.
102 \end{question}
103 \end{fillin}
104
105 \begin{multiplechoice}[title={A title}, resetcounter=no]
106 These are meant to be multiple-choice questions --- the type you would give
107 students to fill out using scantrons (or whatever you call the number-2 pencil
108 automatic grading machines).
109
110 \begin{question}
111 How many people live in Wales?
112 \choice[!]{Approximately 2,811,865.}
113 \choice{More than in most countries.}
114 \choice{None.}
115 \choice{Exactly seventeen.}
116 \end{question}
117
118 \begin{question}
119 How many cows does it take to graze a field?
120 \choice{One.}
121 \choice[!]{Two.}
122 \choice{Three.}
123 \choice{Four}
124 \end{question}
125
126 \begin{question}
127 This is a question. Which is the correct answer? \ding{217} \hfill
128 \fbox{ \large\ding{51} }
129 \choice[!]{ \hfill \fbox{ }}
130 \choice{ \hfill \fbox{ }}
131 \choice{ \hfill \fbox{ }}
132 \choice{ \hfill \fbox{ }}
133 \choice{ \hfill \fbox{ }}
134 \end{question}
135
136 \begin{block}
137 Here is a block of multiple choice questions.
138 \begin{question}
139 The official state motto of Idaho is?
140 \choice{``We're friendly than other states.''}
141 \choice{``Home of the Unabomber.''}
142 \choice[!]{``Famous Potatoes.''}
143 \choice{``Try us, you'll like us.''}
144 \end{question}
145
146 \begin{question}
147 What philosopher declared that human beings are the conduit
148 through which language passes?
149 \choice{Martha Stewart}
150 \choice{Jacques Derrida}
151 \choice[!]{Martin Heidegger}
152 \choice{Jacques Cousteau}
153 \end{question}
154 \end{block}
155
156 \begin{question}
157 How many elves does it take to mine tin?
158 \choice{One.}
159 \choice[!]{Two.}
160 \choice{Three.}
161 \choice{Four}
162 \end{question}
163 \end{multiplechoice}
164
165 \begin{shortanswer}[title={Short Answer (10 pts each)},
166 rearrange=yes,resetcounter=no]
167 This is an example of the \textsf{shortanswer} type of question, where the
168 questions are rearranged between tests.
169
170 \begin{question}
171 Here is an equation:
172 \begin{align}
173 f(x) &= h(x)\\
174 g(x) &= j(x)
175 \end{align}
176 `Twas brillig, and the slithy toves did gyre and gimble in the wabe;
177 All mimsy were the borogoves, and the mome raths outgrabe.
178 \InsertChunk{Sample program no. 1}
179 \begin{answer}
180 Ask Lewis Carroll.
181 \end{answer}
182 \end{question}
183
184 \begin{block}[questions=2]
185 The first question is \thefirst\ and the last is \thelast. The quick brown
186 fox jumped over the lazy dogs. The quick brown fox jumped over the lazy
187 dogs. The quick brown fox jumped over the lazy dogs. The quick brown fox
188 jumped over the lazy dogs. The quick brown fox jumped over the lazy dogs.
189
190 \begin{question}
191 As you saw in equation in question---
192 `Beware the Jabberwock, my son! The jaws that bite, the claws that catch!
193 Beware the Jubjub bird, and shun the frumious Bandersnatch!'
194 \begin{answer}
195 Ask Lewis Carroll.
196 \end{answer}
197 \end{question}
198
199 \begin{question}
200 He took his vorpal sword in hand: long time the manxome foe he sought --
201 so rested he by the Tumtum tree, and stood awhile in thought.
202 \begin{answer}
203 Ask Lewis Carroll.
204 \end{answer}
205 \end{question}
206 \end{block}
207
208 \begin{question}
209 And as in uffish thought he stood, the Jabberwock, with eyes of flame,
210 came whiffling through the tulgey wood, and burbled as it came!
211 \begin{answer}
212 Ask Lewis Carroll.
213 \end{answer}
214 \end{question}
215
216 \begin{question}
217 One, two! One, two! And through and through the vorpal blade went snicker-snack!
218 He left it dead, and with its head he went galumphing back.
219 \begin{answer}
220 Ask Lewis Carroll.
221 \end{answer}
222 \end{question}
223
224 \begin{question}
225 `And has thou slain the Jabberwock? Come to my arms, my beamish boy!
226 O frabjous day! Calooh! Callay!' He chortled in his joy.
227 \begin{answer}
228 Ask Lewis Carroll.
229 \end{answer}
230 \end{question}
231
232 \begin{question}
233 `Twas brillig, and the slithy toves did gyre and gimble in the wabe;
234 all mimsy were the borogoves, and the mome raths outgrabe.
235 \begin{answer}
236 Ask Lewis Carroll.
237 \end{answer}
238 \end{question}
239
240 \begin{question}
241 And as in uffish thought he stood, the Jabberwock, with eyes of flame,
242 came whiffling through the tulgey wood, and burbled as it came!
243 \begin{answer}
244 Ask Lewis Carroll.
245 \end{answer}
246 \end{question}
247
248 \begin{question}
249 One, two! One, two! And through and through the vorpal blade went snicker-snack!
250 He left it dead, and with its head he went galumphing back.
251 \begin{answer}
252 Ask Lewis Carroll.
253 \end{answer}
254 \end{question}
255
256 \begin{question}
257 `And has thou slain the Jabberwock? Come to my arms, my beamish boy!
258 O frabjous day! Calooh! Callay!' He chortled in his joy.
259 \begin{answer}
260 Ask Lewis Carroll.
261 \end{answer}
262 \end{question}
263
264 \begin{question}
265 `Twas brillig, and the slithy toves did gyre and gimble in the wabe;
266 all mimsy were the borogoves, and the mome raths outgrabe.
267 \begin{answer}
268 Ask Lewis Carroll.
269 \end{answer}
270 \end{question}
271
272 \begin{question}
273 And as in uffish thought he stood, the Jabberwock, with eyes of flame,
274 came whiffling through the tulgey wood, and burbled as it came!
275 \begin{answer}
276 Ask Lewis Carroll.
277 \end{answer}
278 \end{question}
279
280 \begin{question}
281 One, two! One, two! And through and through the vorpal blade went snicker-snack!
282 He left it dead, and with its head he went galumphing back.
283 \begin{answer}
284 Ask Lewis Carroll.
285 \end{answer}
286 \end{question}
287
288 \begin{question}
289 `And has thou slain the Jabberwock? Come to my arms, my beamish boy!
290 O frabjous day! Calooh! Callay!' He chortled in his joy.
291 \begin{answer}
292 Ask Lewis Carroll.
293 \end{answer}
294 \end{question}
295
296 \begin{question}
297 `Twas brillig, and the slithy toves did gyre and gimble in the wabe;
298 all mimsy were the borogoves, and the mome raths outgrabe.
299 \begin{answer}
300 Ask Lewis Carroll.
301 \end{answer}
302 \end{question}
303
304 \end{shortanswer}
305
306 \end{document}