file.txt

Jose Briseño, 04/08/2019 05:53 pm

Download (2.6 kB)

 
1
\documentclass[letter]{article}
2
3
\usepackage[utf8x]{inputenc}
4
\usepackage[T1]{fontenc}
5
%%%%
6
%\usepackage{graphicx}
7
%\usepackage{caption}
8
%%%%%%
9
10
\usepackage[box,completemulti,separateanswersheet]{automultiplechoice}    
11
12
13
\begin{document}
14
%\includegraphics
15
16
\AMCrandomseed{1237893}
17
18
\def\AMCformQuestion#1{{\sc Question #1:}}    
19
20
\setdefaultgroupmode{withoutreplacement}
21
22
\element{general}{
23
24
  \begin{question}{prez}
25
  
26
  %figure
27
%  \begin{figure}[!htp]
28
29
%  \begin{center}
30
    \includegraphics[scale=.5]{/home/monico/Proyectos-MC/test/images/circulofraccion.png}
31
%         \caption{A picture of a toucan.}
32
%  \end{center}
33
34
35
%  \end{figure}
36
  
37
  %figure
38
  
39
    Among the following persons, which one has ever been a President of the French Republic?
40
    \begin{choices}
41
      \correctchoice{René Coty}
42
      \wrongchoice{Alain Prost}
43
      \wrongchoice{Marcel Proust}
44
      \wrongchoice{Claude Monet}
45
    \end{choices}
46
  \end{question}
47
}
48
49
\element{general}{
50
  \begin{questionmult}{pref}
51
    Among the following cities, which ones are French prefectures?
52
    \begin{choices}
53
      \correctchoice{Poitiers}
54
      \wrongchoice{Sainte-Menehould}
55
      \correctchoice{Avignon}
56
    \end{choices}
57
  \end{questionmult}
58
}
59
60
\element{general}{
61
  \begin{question}{nb-ue}
62
    How many different states were members of the European Union in Jan. 2009?
63
    \begin{choiceshoriz}[o]
64
      \wrongchoice{15}
65
      \wrongchoice{21}
66
      \wrongchoice{25}
67
      \correctchoice{27}
68
      \wrongchoice{31}
69
    \end{choiceshoriz}
70
  \end{question}
71
}
72
73
\onecopy{5}{
74
75
%%% beginning of the test sheet header:
76
77
\noindent{\bf QCM  \hfill TEST}
78
79
\vspace*{.5cm}
80
\begin{minipage}{.4\linewidth}
81
  \centering\large\bf Test\\ Examination on Jan. 1st, 2008
82
\end{minipage}
83
84
\begin{center}\em
85
Duration : 10 minutes.
86
87
  No documents allowed. The use of electronic calculators is forbidden.
88
89
  Questions using the sign \multiSymbole{} may have
90
  zero, one or several correct answers.  Other questions have a single correct answer.
91
92
  Negative points may be attributed to \emph{very
93
    bad} answers.
94
95
\end{center}
96
\vspace{1ex}
97
98
%%% end of the header
99
100
\insertgroup{general}
101
102
\AMCcleardoublepage    
103
104
% \AMCaddpagesto{3} 
105
106
\AMCformBegin    
107
108
%%% beginning of the answer sheet header
109
110
{\large\bf Answer sheet:}
111
\hfill \namefield{\fbox{    
112
    \begin{minipage}{.5\linewidth}
113
      Firstname and lastname:
114
115
      \vspace*{.5cm}\dotfill
116
      \vspace*{1mm}
117
    \end{minipage}
118
  }}
119
120
\begin{center}
121
  \bf\em Answers must be given exclusively on this sheet:
122
  answers given on the other sheets will be ignored.
123
\end{center}
124
125
%%% end of the answer sheet header
126
127
\AMCform    
128
129
% \AMCaddpagesto{5} 
130
131
}
132
133
\end{document}