\documentclass[10pt,twocolumn]{exam}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[spanish]{babel}
\selectlanguage{spanish}
\usepackage{amsmath}
\usepackage{pifont}
\usepackage{times}
\Fullpages
\NumberOfVersions{1}
\SectionFont{\large\sffamily}

\ContinuousNumbering
%\ShortKey
\DefineAnswerWrapper{\textbf{Respuesta:}}{}
\IncludeFromFile{foobar.tex}

\StudentInfoLineSpacing{8pt} 
\class{{\Huge Estadística:\\[2mm] ModelosLineales\\}}  
\examname{Final Enero  2.002}  
\def\namedata{Apellidos y Nombre: \hrulefill  \\[8pt] 
              DNI: \hrulefill  \\[8pt] 
              Grupo: \hrulefill\\[8pt] 
              Profesor : \hrulefill }
\setrandomseed{2345}

% \begin{examtop}
% \@@line{\parbox{3in}{\classdata \\
%         \examtype. Formulario tipo \textsc{\version}}
%         }
%         \bigskip
% \end{examtop}


\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={Preguntas elección múltiple}, resetcounter=no]
\noindent Salvo que se indique lo contrario, las preguntas bien contestadas 
valen un
punto.  Puede haber  más de  una  respuesta correcta,  y para  obtener
puntuación  has  de señalarlas  todas.  Preguntas  que  no estén  bien
contestadas disminuyen  la puntuación total  a razón de -0.5  veces su
valor.

\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}[questions=2]
  Las preguntas \thefirst--\thelast\  a continuación hacen todas referencia al
siguiente supuesto:
  \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}
