Debian Codegraph @

texmf-dist/doc/latex/exam-randomizechoices/exam-randomizechoices.tex

raw
1 %%
2 %% exam-randomizechoices.tex
3 %%
4 %% Randomize mc choices using the exam class -- examples
5 %%
6 %% Copyright (c)2021, Jesse E. J. op den Brouw
7 %%
8 %% This work may be distributed and/or modified under the
9 %% conditions of the LaTeX Project Public License, either version 1.3
10 %% of this license or (at your option) any later version.
11 %% The latest version of this license is in
12 %% http://www.latex-project.org/lppl.txt
13 %% and version 1.3 or later is part of all distributions of LaTeX
14 %% version 2003/12/01 or later.
15 %%
16 %% This work consists of the files exam-randomizechoices.sty,
17 %% exam-randomizechoices.tex and exam-randomizechoices-doc.tex
18
19 %% This software is provided 'as is', without warranty of any kind,
20 %% either expressed or implied, including, but not limited to, the
21 %% implied warranties of merchantability and fitness for a
22 %% particular purpose.
23
24 %% Jesse op den Brouw
25 %% Department of Electrical Engineering
26 %% The Hague University of Applied Sciences
27 %% Rotterdamseweg 137, 2628 AL, Delft
28 %% Netherlands
29 %% [email protected]
30
31 %% The newest version of this package should always be available
32 %% from GitHub: https://github.com/jesseopdenbrouw/exam-randomizechoices
33
34 \documentclass[answers,addpoints]{exam}
35
36 \usepackage{parskip}
37 \usepackage[colorlinks,linkcolor=blue]{hyperref}
38 \usepackage{mathtools}
39 \usepackage[a4paper]{geometry}
40
41 \usepackage[debug,randomize,nokeeplast]{exam-randomizechoices}
42 \setrandomizerseed{999}
43
44
45
46 \usepackage{amssymb}
47 \checkboxchar{$\square$}
48 \checkedchar{$\raisebox{0.3ex}{\checkmark}\hspace{-0.95em}\square$}
49
50 \CorrectChoiceEmphasis{\color{red}\slshape}
51
52 \begin{document}
53
54
55 \section*{Exam}
56 The total number of points to earn is \numpoints.
57
58 \hrulefill
59
60
61 \begin{questions}
62
63
64
65
66 %%%%1
67 \question[5]
68 One of these things is not like the others; one of these
69 things is not the same. Which one is different?
70
71 \begin{randomizechoices}
72 \choice John
73 \choice Paul
74 \choice George
75 \choice Ringo
76 \CorrectChoice Socrates
77 \end{randomizechoices}
78
79 %%%%2
80 \question[5]
81 One of these things is not like the others; one of these
82 things is not the same. Which one is different?
83
84 \begin{randomizeoneparchoices}
85 \choice John
86 \choice Paul
87 \choice George
88 \choice Ringo
89 \CorrectChoice Socrates
90 \end{randomizeoneparchoices}
91
92 %%%%%3
93 \question[5]
94 One of these things is not like the others; one of these
95 things is not the same. Which one is different?
96
97 \begin{randomizecheckboxes}
98 \choice John
99 \choice Paul
100 \choice George
101 \choice Ringo
102 \CorrectChoice Socrates
103 \end{randomizecheckboxes}
104
105 %%%%%%%%4
106 \question[5]
107 One of these things is not like the others; one of these
108 things is not the same. Which one is different?
109
110 \begin{randomizeoneparcheckboxes}
111 \choice John
112 \choice Paul
113 \choice George
114 \choice Ringo
115 \CorrectChoice Socrates
116 \end{randomizeoneparcheckboxes}
117
118 %%%%%%%%5
119 \question[5]
120 One of these things is not like the others; one of these
121 things is not the same. Which one is different?
122
123 \begin{randomizecheckboxes}
124 \choice John
125 \choice Paul
126 \choice George
127 \choice Ringo
128 \CorrectChoice Socrates
129 \end{randomizecheckboxes}
130
131 %%%%%%%%6
132 \question[5]
133 One of these things is not like the others; one of these
134 things is not the same. Which one is different?
135
136 \begin{randomizeoneparcheckboxes}[nokeeplast]
137 \choice John
138 \choice Paul
139 \choice George
140 \choice Ringo
141 \CorrectChoice Socrates
142 \end{randomizeoneparcheckboxes}
143
144 %%%%%%%%7
145 \question[5]
146 One of these things is not like the others; one of these
147 things is not the same. Which one is different?
148
149 \begin{randomizeoneparcheckboxes}[nokeeplast]
150 \choice John
151 \choice Paul
152 \choice George
153 \choice Ringo
154 \CorrectChoice Socrates
155 \end{randomizeoneparcheckboxes}
156
157 %%%%%%%%8
158 \question[5]
159 One of these things is not like the others; one of these
160 things is not the same. Which one is different?
161
162 \begin{randomizeoneparcheckboxes}
163 \choice John
164 \choice Paul
165 \choice George
166 \choice Ringo
167 \CorrectChoice Socrates
168 \end{randomizeoneparcheckboxes}
169
170 %%%%%%%%9
171 \question[5]
172 One of these things is not like the others; one of these
173 things is not the same. Which one is different?
174
175 \begin{randomizechoices}[norandom,random,nokeeplast,keeplast]
176 \choice John
177 \choice Paul
178 \choice George
179 \choice Ringo
180 \CorrectChoice Socrates
181 \end{randomizechoices}
182
183 %%%%%10
184 \question[5]
185 One of these things is not like the others; one of these
186 things is not the same. Which one is different?
187
188 \begin{choices}
189 \choice John
190 \choice Paul
191 \choice George
192 \choice Ringo
193 \CorrectChoice Socrates
194 \end{choices}
195
196 %%%%%%%%11
197 \question[5]
198 One of these things is not like the others; one of these
199 things is not the same. Which one is different?
200
201 \begin{randomizeoneparchoices}[keeplast]
202 \choice John
203 \choice Paul
204 \choice George
205 \choice Ringo
206 \CorrectChoice Socrates
207 \end{randomizeoneparchoices}
208
209 %%%%%12
210 \question[5]
211 One of these things is not like the others; one of these
212 things is not the same. Which one is different?
213
214 \begin{oneparchoices}
215 \choice John
216 \choice Paul
217 \choice George
218 \choice Ringo
219 \CorrectChoice Socrates
220 \end{oneparchoices}
221
222 %%%%%%%%13
223 \question[5]
224 One of these things is not like the others; one of these
225 things is not the same. Which one is different?
226
227 %%%%%\begin{randomizechoices}[norandom,random,nokeeplast,keeplast]
228 \begin{randomizechoices}
229 \choice John
230 \choice Paul
231 \choice George
232 \choice Ringo
233 \CorrectChoice Socrates
234 \end{randomizechoices}
235
236 %%%%%%%%14
237 \question[5]
238 One of these things is not like the others; one of these
239 things is not the same. Which one is different?
240
241 %\begin{randomizechoices}[norandom,random,nokeeplast,keeplast]
242 \begin{randomizechoices}
243 \choice John
244 \choice Paul
245 \choice George
246 \choice Ringo
247 \CorrectChoice Socrates
248 \end{randomizechoices}
249
250 %%%%%%%%15
251 \question[5]
252 One of these things is not like the others; one of these
253 things is not the same. Which one is different?
254
255 \begin{choices}
256 \choice John
257 \choice Paul
258 \choice George
259 \choice Ringo
260 \CorrectChoice Socrates
261 \end{choices}
262
263 %%%%%%%%16
264 \question[5]
265 One of these things is not like the others; one of these
266 things is not the same. Which one is different?
267
268 \begin{randomizeoneparchoices}
269 \choice John
270 \choice Paul
271 \choice George
272 \choice Ringo
273 \CorrectChoice Socrates
274 \end{randomizeoneparchoices}
275
276 %%%%%%%%17
277 \question[5]
278 One of these things is not like the others; one of these
279 things is not the same. Which one is different?
280
281 \begin{oneparchoices}
282 \choice John
283 \choice Paul
284 \choice George
285 \choice Ringo
286 \CorrectChoice Socrates
287 \end{oneparchoices}
288
289 %%%%%%%%18
290 \question[5]
291 One of these things is not like the others; one of these
292 things is not the same. Which one is different?
293
294 %%%\begin{randomizechoices}[norandom,random,nokeeplast,keeplast]
295 \begin{randomizechoices}
296 \choice John
297 \choice Paul
298 \choice George
299 \choice Ringo
300 \CorrectChoice Socrates
301 \end{randomizechoices}
302
303 %%%%%%%%19
304 \question[5]
305 One of these things is not like the others; one of these
306 things is not the same. Which one is different?
307
308 %%%\begin{randomizechoices}[norandom,random,nokeeplast,keeplast]
309 \begin{randomizechoices}
310 \choice John
311 \choice Paul
312 \choice George
313 \choice Ringo
314 \CorrectChoice Socrates
315 \end{randomizechoices}
316
317 %%%%%%%%20
318 \question[5]
319 One of these things is not like the others; one of these
320 things is not the same. Which one is different?
321
322 \begin{choices}
323 \choice John
324 \choice Paul
325 \choice George
326 \choice Ringo
327 \CorrectChoice Socrates
328 \end{choices}
329
330 %%%%%%%%21
331 \question[5]
332 One of these things is not like the others; one of these
333 things is not the same. Which one is different?
334
335 \begin{randomizeoneparchoices}
336 \choice John
337 \choice Paul
338 \choice George
339 \choice Ringo
340 \CorrectChoice Socrates
341 \end{randomizeoneparchoices}
342
343 %%%%%%%%22
344 \question[5]
345 One of these things is not like the others; one of these
346 things is not the same. Which one is different?
347
348 \begin{oneparchoices}
349 \choice John
350 \choice Paul
351 \choice George
352 \choice Ringo
353 \CorrectChoice Socrates
354 \end{oneparchoices}
355
356 %%%%%%%%23
357 \question[5]
358 One of these things is not like the others; one of these
359 things is not the same. Which one is different?
360
361 %%%\begin{randomizechoices}[norandom,random,nokeeplast,keeplast]
362 \begin{randomizechoices}
363 \choice John
364 \choice Paul
365 \choice George
366 \choice Ringo
367 \CorrectChoice Socrates
368 \end{randomizechoices}
369
370 %%%%%%%%24
371 \question[5]
372 One of these things is not like the others; one of these
373 things is not the same. Which one is different?
374
375 %%%\begin{randomizechoices}[norandom,random,nokeeplast,keeplast]
376 \begin{randomizechoices}
377 \choice John
378 \choice Paul
379 \choice George
380 \choice Ringo
381 \CorrectChoice Socrates
382 \end{randomizechoices}
383
384 %%%%%%%%25
385 \question[5]
386 One of these things is not like the others; one of these
387 things is not the same. Which one is different?
388
389 \begin{choices}
390 \choice John
391 \choice Paul
392 \choice George
393 \choice Ringo
394 \CorrectChoice Socrates
395 \end{choices}
396
397 %%%%%%%%26
398 \question[5]
399 One of these things is not like the others; one of these
400 things is not the same. Which one is different?
401
402 \begin{randomizeoneparchoices}
403 \choice John
404 \choice Paul
405 \choice George
406 \choice Ringo
407 \CorrectChoice Socrates
408 \end{randomizeoneparchoices}
409
410 %%%%%%%%27
411 \question[5]
412 One of these things is not like the others; one of these
413 things is not the same. Which one is different?
414
415 \begin{oneparchoices}
416 \choice John
417 \choice Paul
418 \choice George
419 \choice Ringo
420 \CorrectChoice Socrates
421 \end{oneparchoices}
422
423 %%%%%%%%28
424 \question[5]
425 One of these things is not like the others; one of these
426 things is not the same. Which one is different?
427
428 \begin{randomizecheckboxes}
429 \choice John
430 \choice Paul
431 \choice George
432 \choice Ringo
433 \CorrectChoice Socrates
434 \end{randomizecheckboxes}
435
436 %%%%%29
437 \question[5]
438 One of these things is not like the others; one of these
439 things is not the same. Which one is different?
440
441 \begin{checkboxes}
442 \choice John
443 \choice Paul
444 \choice George
445 \choice Ringo
446 \CorrectChoice Socrates
447 \end{checkboxes}
448
449 %%%%%%%%30
450 \question[5]
451 One of these things is not like the others; one of these
452 things is not the same. Which one is different?
453
454 \begin{randomizeoneparcheckboxes}[nokeeplast]
455 \choice John
456 \choice Paul
457 \choice George
458 \choice Ringo
459 \CorrectChoice Socrates
460 \end{randomizeoneparcheckboxes}
461
462 %%%%%31
463 \question[5]
464 One of these things is not like the others; one of these
465 things is not the same. Which one is different?
466
467 \begin{oneparcheckboxes}%[keeplast]
468 \choice John
469 \choice Paul
470 \choice George
471 \choice Ringo
472 \CorrectChoice Socrates
473 \end{oneparcheckboxes}
474
475 %%%%%32+
476 \question[5]
477 One of these things is not like the others; one of these
478 things is not the same. Which one is different?
479
480 \begin{randomizeoneparchoices}
481 \choice John
482 \choice Paul
483 \choice George
484 \choice Ringo
485 \CorrectChoice Socrates
486 \end{randomizeoneparchoices}
487
488 \question[5]
489 One of these things is not like the others; one of these
490 things is not the same. Which one is different?
491
492 \begin{randomizeoneparchoices}
493 \choice John
494 \choice Paul
495 \choice George
496 \choice Ringo
497 \CorrectChoice Socrates
498 \end{randomizeoneparchoices}
499 \question[5]
500 One of these things is not like the others; one of these
501 things is not the same. Which one is different?
502
503 \begin{randomizeoneparchoices}
504 \choice John
505 \choice Paul
506 \choice George
507 \choice Ringo
508 \CorrectChoice Socrates
509 \end{randomizeoneparchoices}
510 \question[5]
511 One of these things is not like the others; one of these
512 things is not the same. Which one is different?
513
514 \begin{randomizeoneparchoices}
515 \choice John
516 \choice Paul
517 \choice George
518 \choice Ringo
519 \CorrectChoice Socrates
520 \end{randomizeoneparchoices}
521 \question[5]
522 One of these things is not like the others; one of these
523 things is not the same. Which one is different?
524
525 \begin{randomizeoneparchoices}
526 \choice John
527 \choice Paul
528 \choice George
529 \choice Ringo
530 \CorrectChoice Socrates
531 \end{randomizeoneparchoices}
532 \question[5]
533 One of these things is not like the others; one of these
534 things is not the same. Which one is different?
535
536 \begin{randomizeoneparchoices}
537 \choice John
538 \choice Paul
539 \choice George
540 \choice Ringo
541 \CorrectChoice Socrates
542 \end{randomizeoneparchoices}
543 \question[5]
544 One of these things is not like the others; one of these
545 things is not the same. Which one is different?
546
547 \begin{randomizeoneparchoices}
548 \choice John
549 \choice Paul
550 \choice George
551 \choice Ringo
552 \CorrectChoice Socrates
553 \end{randomizeoneparchoices}
554 \question[5]
555 One of these things is not like the others; one of these
556 things is not the same. Which one is different?
557
558 \begin{randomizeoneparchoices}
559 \choice John
560 \choice Paul
561 \choice George
562 \choice Ringo
563 \CorrectChoice Socrates
564 \end{randomizeoneparchoices}
565 \question[5]
566 One of these things is not like the others; one of these
567 things is not the same. Which one is different?
568
569 \begin{randomizeoneparchoices}
570 \choice John
571 \choice Paul
572 \choice George
573 \choice Ringo
574 \CorrectChoice Socrates
575 \end{randomizeoneparchoices}
576 \question[5]
577 One of these things is not like the others; one of these
578 things is not the same. Which one is different?
579
580 \begin{randomizeoneparchoices}
581 \choice John
582 \choice Paul
583 \choice George
584 \choice Ringo
585 \CorrectChoice Socrates
586 \end{randomizeoneparchoices}
587 \question[5]
588 One of these things is not like the others; one of these
589 things is not the same. Which one is different?
590
591 \begin{randomizeoneparchoices}
592 \choice John
593 \choice Paul
594 \choice George
595 \choice Ringo
596 \CorrectChoice Socrates
597 \end{randomizeoneparchoices}
598 \question[5]
599 One of these things is not like the others; one of these
600 things is not the same. Which one is different?
601
602 \begin{randomizeoneparchoices}
603 \choice John
604 \choice Paul
605 \choice George
606 \choice Ringo
607 \CorrectChoice Socrates
608 \end{randomizeoneparchoices}
609 \question[5]
610 One of these things is not like the others; one of these
611 things is not the same. Which one is different?
612
613 \begin{randomizeoneparchoices}
614 \choice John
615 \choice Paul
616 \choice George
617 \choice Ringo
618 \CorrectChoice Socrates
619 \end{randomizeoneparchoices}
620 \question[5]
621 One of these things is not like the others; one of these
622 things is not the same. Which one is different?
623
624 \begin{randomizeoneparchoices}
625 \choice John
626 \choice Paul
627 \choice George
628 \choice Ringo
629 \CorrectChoice Socrates
630 \end{randomizeoneparchoices}
631 \question[5]
632 One of these things is not like the others; one of these
633 things is not the same. Which one is different?
634
635 \begin{randomizeoneparchoices}
636 \choice John
637 \choice Paul
638 \choice George
639 \choice Ringo
640 \CorrectChoice Socrates
641 \end{randomizeoneparchoices}
642 \question[5]
643 One of these things is not like the others; one of these
644 things is not the same. Which one is different?
645
646 \begin{randomizeoneparchoices}
647 \choice John
648 \choice Paul
649 \choice George
650 \choice Ringo
651 \CorrectChoice Socrates
652 \end{randomizeoneparchoices}
653 \question[5]
654 One of these things is not like the others; one of these
655 things is not the same. Which one is different?
656
657 \begin{randomizeoneparchoices}
658 \choice John
659 \choice Paul
660 \choice George
661 \choice Ringo
662 \CorrectChoice Socrates
663 \end{randomizeoneparchoices}
664 \question[5]
665 One of these things is not like the others; one of these
666 things is not the same. Which one is different?
667
668 \begin{randomizeoneparchoices}
669 \choice John
670 \choice Paul
671 \choice George
672 \choice Ringo
673 \CorrectChoice Socrates
674 \end{randomizeoneparchoices}
675 \question[5]
676 One of these things is not like the others; one of these
677 things is not the same. Which one is different?
678
679 \begin{randomizeoneparchoices}
680 \choice John
681 \choice Paul
682 \choice George
683 \choice Ringo
684 \CorrectChoice Socrates
685 \end{randomizeoneparchoices}
686 \question[5]
687 One of these things is not like the others; one of these
688 things is not the same. Which one is different?
689
690 \begin{randomizeoneparchoices}
691 \choice John
692 \choice Paul
693 \choice George
694 \choice Ringo
695 \CorrectChoice Socrates
696 \end{randomizeoneparchoices}
697 \question[5]
698 One of these things is not like the others; one of these
699 things is not the same. Which one is different?
700
701 \begin{randomizeoneparchoices}
702 \choice John
703 \choice Paul
704 \choice George
705 \choice Ringo
706 \CorrectChoice Socrates
707 \end{randomizeoneparchoices}
708 \question[5]
709 One of these things is not like the others; one of these
710 things is not the same. Which one is different?
711
712 \begin{randomizeoneparchoices}
713 \choice John
714 \choice Paul
715 \choice George
716 \choice Ringo
717 \CorrectChoice Socrates
718 \end{randomizeoneparchoices}
719 \question[5]
720 One of these things is not like the others; one of these
721 things is not the same. Which one is different?
722
723 \begin{randomizeoneparchoices}
724 \choice John
725 \choice Paul
726 \choice George
727 \choice Ringo
728 \CorrectChoice Socrates
729 \end{randomizeoneparchoices}
730 \question[5]
731 One of these things is not like the others; one of these
732 things is not the same. Which one is different?
733
734 \begin{randomizeoneparchoices}
735 \choice John
736 \choice Paul
737 \choice George
738 \choice Ringo
739 \CorrectChoice Socrates
740 \end{randomizeoneparchoices}
741 \question[5]
742 One of these things is not like the others; one of these
743 things is not the same. Which one is different?
744
745 \begin{randomizeoneparchoices}
746 \choice John
747 \choice Paul
748 \choice George
749 \choice Ringo
750 \CorrectChoice Socrates
751 \end{randomizeoneparchoices}
752 \question[5]
753 One of these things is not like the others; one of these
754 things is not the same. Which one is different?
755
756 \begin{randomizeoneparchoices}
757 \choice John
758 \choice Paul
759 \choice George
760 \choice Ringo
761 \CorrectChoice Socrates
762 \end{randomizeoneparchoices}
763 \question[5]
764 One of these things is not like the others; one of these
765 things is not the same. Which one is different?
766
767 \begin{randomizeoneparchoices}
768 \choice John
769 \choice Paul
770 \choice George
771 \choice Ringo
772 \CorrectChoice Socrates
773 \end{randomizeoneparchoices}
774 \question[5]
775 One of these things is not like the others; one of these
776 things is not the same. Which one is different?
777
778 \begin{randomizeoneparchoices}
779 \choice John
780 \choice Paul
781 \choice George
782 \choice Ringo
783 \CorrectChoice Socrates
784 \end{randomizeoneparchoices}
785 \question[5]
786 One of these things is not like the others; one of these
787 things is not the same. Which one is different?
788
789 \begin{randomizeoneparchoices}
790 \choice John
791 \choice Paul
792 \choice George
793 \choice Ringo
794 \CorrectChoice Socrates
795 \end{randomizeoneparchoices}
796 \question[5]
797 One of these things is not like the others; one of these
798 things is not the same. Which one is different?
799
800 \begin{randomizeoneparchoices}
801 \choice John
802 \choice Paul
803 \choice George
804 \choice Ringo
805 \CorrectChoice Socrates
806 \end{randomizeoneparchoices}
807 \question[5]
808 One of these things is not like the others; one of these
809 things is not the same. Which one is different?
810
811 \begin{randomizeoneparchoices}
812 \choice John
813 \choice Paul
814 \choice George
815 \choice Ringo
816 \CorrectChoice Socrates
817 \end{randomizeoneparchoices}
818 \question[5]
819 One of these things is not like the others; one of these
820 things is not the same. Which one is different?
821
822 \begin{randomizeoneparchoices}
823 \choice John
824 \choice Paul
825 \choice George
826 \choice Ringo
827 \CorrectChoice Socrates
828 \end{randomizeoneparchoices}
829 \question[5]
830 One of these things is not like the others; one of these
831 things is not the same. Which one is different?
832
833 \begin{randomizeoneparchoices}
834 \choice John
835 \choice Paul
836 \choice George
837 \choice Ringo
838 \CorrectChoice Socrates
839 \end{randomizeoneparchoices}
840 \question[5]
841 One of these things is not like the others; one of these
842 things is not the same. Which one is different?
843
844 \begin{randomizeoneparchoices}
845 \choice John
846 \choice Paul
847 \choice George
848 \choice Ringo
849 \CorrectChoice Socrates
850 \end{randomizeoneparchoices}
851 \question[5]
852 One of these things is not like the others; one of these
853 things is not the same. Which one is different?
854
855 \begin{randomizeoneparchoices}
856 \choice John
857 \choice Paul
858 \choice George
859 \choice Ringo
860 \CorrectChoice Socrates
861 \end{randomizeoneparchoices}
862 \question[5]
863 One of these things is not like the others; one of these
864 things is not the same. Which one is different?
865
866 \begin{randomizeoneparchoices}
867 \choice John
868 \choice Paul
869 \choice George
870 \choice Ringo
871 \CorrectChoice Socrates
872 \end{randomizeoneparchoices}
873 \question[5]
874 One of these things is not like the others; one of these
875 things is not the same. Which one is different?
876
877 \begin{randomizeoneparchoices}
878 \choice John
879 \choice Paul
880 \choice George
881 \choice Ringo
882 \CorrectChoice Socrates
883 \end{randomizeoneparchoices}
884 \question[5]
885 One of these things is not like the others; one of these
886 things is not the same. Which one is different?
887
888 \begin{randomizeoneparchoices}
889 \choice John
890 \choice Paul
891 \choice George
892 \choice Ringo
893 \CorrectChoice Socrates
894 \end{randomizeoneparchoices}
895 \question[5]
896 One of these things is not like the others; one of these
897 things is not the same. Which one is different?
898
899 \begin{randomizeoneparchoices}
900 \choice John
901 \choice Paul
902 \choice George
903 \choice Ringo
904 \CorrectChoice Socrates
905 \end{randomizeoneparchoices}
906 \question[5]
907 One of these things is not like the others; one of these
908 things is not the same. Which one is different?
909
910 \begin{randomizeoneparchoices}
911 \choice John
912 \choice Paul
913 \choice George
914 \choice Ringo
915 \CorrectChoice Socrates
916 \end{randomizeoneparchoices}
917 \question[5]
918 One of these things is not like the others; one of these
919 things is not the same. Which one is different?
920
921 \begin{randomizeoneparchoices}
922 \choice John
923 \choice Paul
924 \choice George
925 \choice Ringo
926 \CorrectChoice Socrates
927 \end{randomizeoneparchoices}
928 \question[5]
929 One of these things is not like the others; one of these
930 things is not the same. Which one is different?
931
932 \begin{randomizeoneparchoices}
933 \choice John
934 \choice Paul
935 \choice George
936 \choice Ringo
937 \CorrectChoice Socrates
938 \end{randomizeoneparchoices}
939 \question[5]
940 One of these things is not like the others; one of these
941 things is not the same. Which one is different?
942
943 \begin{randomizeoneparchoices}
944 \choice John
945 \choice Paul
946 \choice George
947 \choice Ringo
948 \CorrectChoice Socrates
949 \end{randomizeoneparchoices}
950 \question[5]
951 One of these things is not like the others; one of these
952 things is not the same. Which one is different?
953
954 \begin{randomizeoneparchoices}
955 \choice John
956 \choice Paul
957 \choice George
958 \choice Ringo
959 \CorrectChoice Socrates
960 \end{randomizeoneparchoices}
961 \question[5]
962 One of these things is not like the others; one of these
963 things is not the same. Which one is different?
964
965 \begin{randomizeoneparchoices}
966 \choice John
967 \choice Paul
968 \choice George
969 \choice Ringo
970 \CorrectChoice Socrates
971 \end{randomizeoneparchoices}
972 \question[5]
973 One of these things is not like the others; one of these
974 things is not the same. Which one is different?
975
976 \begin{randomizeoneparchoices}
977 \choice John
978 \choice Paul
979 \choice George
980 \choice Ringo
981 \CorrectChoice Socrates
982 \end{randomizeoneparchoices}
983 \question[5]
984 One of these things is not like the others; one of these
985 things is not the same. Which one is different?
986
987 \begin{randomizeoneparchoices}
988 \choice John
989 \choice Paul
990 \choice George
991 \choice Ringo
992 \CorrectChoice Socrates
993 \end{randomizeoneparchoices}
994 \question[5]
995 One of these things is not like the others; one of these
996 things is not the same. Which one is different?
997
998 \begin{randomizeoneparchoices}
999 \choice John
1000 \choice Paul
1001 \choice George
1002 \choice Ringo
1003 \CorrectChoice Socrates
1004 \end{randomizeoneparchoices}
1005 \question[5]
1006 One of these things is not like the others; one of these
1007 things is not the same. Which one is different?
1008
1009 \begin{randomizeoneparchoices}
1010 \choice John
1011 \choice Paul
1012 \choice George
1013 \choice Ringo
1014 \CorrectChoice Socrates
1015 \end{randomizeoneparchoices}
1016 \question[5]
1017 One of these things is not like the others; one of these
1018 things is not the same. Which one is different?
1019
1020 \begin{randomizeoneparchoices}
1021 \choice John
1022 \choice Paul
1023 \choice George
1024 \choice Ringo
1025 \CorrectChoice Socrates
1026 \end{randomizeoneparchoices}
1027 \question[5]
1028 One of these things is not like the others; one of these
1029 things is not the same. Which one is different?
1030
1031 \begin{randomizeoneparchoices}
1032 \choice John
1033 \choice Paul
1034 \choice George
1035 \choice Ringo
1036 \CorrectChoice Socrates
1037 \end{randomizeoneparchoices}
1038 \question[5]
1039 One of these things is not like the others; one of these
1040 things is not the same. Which one is different?
1041
1042 \begin{randomizeoneparchoices}
1043 \choice John
1044 \choice Paul
1045 \choice George
1046 \choice Ringo
1047 \CorrectChoice Socrates
1048 \end{randomizeoneparchoices}
1049
1050
1051 %%\question
1052 %%Proceed with the next sub-questions.
1053 %%\begin{parts}
1054 %%\part[5] One of these things is not like the others; one of these
1055 %%things is not the same. Which one is different?
1056 %%
1057 %% \begin{randomizechoices}[keeplast]
1058 %% \CorrectChoice Dit antwoord is fout $\emptyset$
1059 %% \choice Het antwoord is 42.
1060 %% \choice Het antwoord is 3,14159
1061 %% \choice Nog een antwoord.
1062 %% \choice Geen van de bovenstaande antwoorden is correct.
1063 %% \end{randomizechoices}
1064 %%
1065 %%\part[5] One of these things is not like the others; one of these
1066 %%things is not the same. Which one is different?
1067 %%
1068 %% \begin{randomizecheckboxes}[keeplast]
1069 %% \choice John
1070 %% \choice Paul
1071 %% \choice George
1072 %% \choice Ringo
1073 %% \CorrectChoice Socrates
1074 %% \end{randomizecheckboxes}
1075 %%
1076 %%\part[5] One of these things is not like the others; one of these
1077 %%things is not the same. Which one is different?
1078 %%
1079 %% \begin{randomizeoneparchoices}[keeplast]
1080 %% \choice John
1081 %% \choice Paul
1082 %% \choice George
1083 %% \choice Ringo
1084 %% \CorrectChoice Another person.
1085 %% \end{randomizeoneparchoices}
1086 %%
1087 %%\part[5] One of these things is not like the others; one of these
1088 %%things is not the same. Which one is different?
1089 %%
1090 %% \begin{randomizeoneparcheckboxes}[keeplast]
1091 %% \choice John
1092 %% \choice Paul
1093 %% \choice George
1094 %% \choice Ringo
1095 %% \CorrectChoice Socrates
1096 %% \end{randomizeoneparcheckboxes}
1097 %%
1098 %%\end{parts}
1099 %%
1100 %%
1101
1102 \end{questions}
1103
1104 \hrulefill
1105
1106 Key table
1107
1108 \printkeytable[1-30]\quad\printkeytable[31-60]\quad\printkeytable[61-83]
1109
1110 \writekeylist[testfile.txt]{\mykeylist}
1111 \writekeylist{\mykeylist}
1112
1113 \savekeylist[\yesthekeylist]
1114
1115 {\color{red}\ttfamily\yesthekeylist}
1116
1117 That's all folks!
1118 \end{document}
1119