File: source.tex

package info (click to toggle)
auto-multiple-choice 1.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 92,612 kB
  • sloc: perl: 26,752; xml: 24,889; cpp: 1,997; python: 895; makefile: 569; sh: 233; ansic: 195
file content (62 lines) | stat: -rw-r--r-- 1,361 bytes parent folder | download
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
\documentclass[a4paper]{article}
\usepackage{automultiplechoice}    
\begin{document}

\onecopy{10}{    

%%% beginning of the test sheet header:    

\noindent{\bf QCM  \hfill TEST}

\vspace*{.5cm}
\begin{minipage}{.4\linewidth}
\centering\large\bf Test\\ Examination on Jan., 1st, 2008\end{minipage}
\namefield{\fbox{    
                \begin{minipage}{.5\linewidth}
                  Firstname and lastname:

                  \vspace*{.5cm}\namefielddots   
                  \vspace*{1mm}
                \end{minipage}
         }}

\begin{center}\em
Duration : 10 minutes.

  No documents allowed. The use of electronic calculators is forbidden.


  Questions using the sign \multiSymbole{} may have
  zero, one or several correct answers.  Other questions have a single correct answer.

  Negative points may be attributed to \emph{very
    bad} answers.
\end{center}
\vspace{1ex}

%%% end of the header

\begin{question}{one}    
  Choose one:
  \begin{choices}
    \correctchoice{4}\scoring{4}
    \wrongchoice{3}\scoring{3}
    \wrongchoice{2}\scoring{2}
    \wrongchoice{1}\scoring{1}
  \end{choices}
\end{question}

\clearpage

\begin{questionmult}{two}
  Choose any:
  \begin{choices}
    \correctchoice{4}\scoring{b=4}
    \correctchoice{2}\scoring{b=2}
    \correctchoice{1}\scoring{b=1}
  \end{choices}
\end{questionmult}

}   

\end{document}