\documentclass[letterpaper]{article}

\usepackage[latin1]{inputenc}    
\usepackage[T1]{fontenc}
\usepackage{multicol}
\usepackage{graphicx}
\usepackage{tikz}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%   PROJECT DIRECTORY PATH BELOW   %%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\AMCDir{"///home/devin/MC-Projects/Questions/ASP_320"}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




\usepackage[box,separateanswersheet,completemulti, outsidebox]{automultiplechoice}    
\begin{document} \scriptsize

\AMCboxDimensions{shape=oval,width=2.0ex,height=2.0ex,down=.2ex}


\AMCrandomseed{1437893}

\def\AMCformQuestion#1{\vspace{\AMCformVSpace}\par\hangindent=3.5em {\sc #1:}}
%\def\AMCformQuestion#1{\hspace{\AMCformHSpace}\par\hangindent=2.32em}
\def\multiSymbole{$\bigotimes$}
\def\AMCbeginQuestion#1#2{\par\noindent{\bf #1} #2\hspace*{.5em}}
\def\AMCchoiceLabelFormat#1{\scriptsize{#1}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%   INPUT FILE SETUP BELOW   %%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\input{\AMCDir/exam.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%   RANDOM GROUP SETUP BELOW   %%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



\cleargroup{all}
%\shufflegroup{phonology}\copygroup[10]{phonology}{all}

\shufflegroup{THEORIES}\copygroup{THEORIES}{all}
\shufflegroup{NEURO}\copygroup{NEURO}{all}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%





%%%%%%%%%%%%%%%%%%%%%%%%%%%



\onecopy{5}{    

%%% beginning of the test sheet header:    

\noindent{\bf ASP 320  \hfill Casenhiser}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\vspace*{.5cm}
\begin{minipage}{1\linewidth}
  \centering\large\bf Exam I: Speech and Language Development ASP320\\ 
\end{minipage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{flushleft}\em
You must turn in \emph{BOTH} the test booklet and the answer sheet. Do NOT indicate your answers on this sheet. Answers should be marked only on the answer sheet.\\\

Questions marked with a \multiSymbole{} may have zero, one or several correct answers. Mark ALL correct answers and leave incorrect answers blank. One point is added for each correct answer; one point is subtracted for each incorrect answer (these questions are worth 4 or 5 points). Questions emph{NOT} marked with a \multiSymbole{} have only one correct answer.\\\

Please be sure to make \emph{dark} marks (not the he-who-must-not-be-named sort) on your exam!

\end{flushleft}
\vspace{1ex}


%%% end of the header

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%   INSERT QUESTION GROUPS BELOW   %%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% insert groups after examcopy %%%



\shufflegroup{all}
\insertgroup{all}





%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\clearpage

\AMCformBegin    

%%% beginning of the answer sheet header
{\setlength{\parindent}{0pt}\hspace*{\fill}\AMCcode{etu}{9}\hspace*{\fill}
\begin{minipage}[b]{6.5cm}

\hfill\champnom{\fbox{    
    \begin{minipage}{.9\linewidth}
      Firstname and lastname:
      
      \vspace*{.5cm}\dotfill
      
      \vspace*{.5cm}\dotfill
      \vspace*{1mm}
    \end{minipage}
  }}

\vspace{3ex}

$\longleftarrow{}$\hspace{0pt plus 0cm} Please encode \emph{all 9 digits} of your student number in the boxes to the left,
and write your first and last names in the box provided.
  
  \hfill\vspace{4ex}\end{minipage}\hspace*{\fill}
  
  }
\vspace{2ex}
{\large\bf\center Answer sheet:}


\begin{flushleft}
  Fill in selected boxes \textit{completely}. Erase mistakes cleanly.
\end{flushleft}

%%% end of the answer sheet header

\begin{multicols}{2}
\AMCform    
\end{multicols}
\clearpage    

}

\end{document}
