\documentclass[letterpaper]{article}
\usepackage[utf8]{inputenc}  
\usepackage[T1]{fontenc}

\usepackage{lscape}
\usepackage[dvips]{graphicx}
\usepackage[margin=1.1in]{geometry}
\usepackage{array}
\usepackage{pdfpages}
\usepackage{afterpage}

\newcommand\blankpage{%
    \null
    \thispagestyle{empty}%
    \addtocounter{page}{-1}%
    \newpage}

\usepackage[version=3]{mhchem}
%\usepackage{siunitx} 

\usepackage{multicol}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}

\usepackage[box,completemulti,outsidebox]{automultiplechoice}    


\newcommand{\testid}{371S16PIB} %test ID -- change for each exam
\begin{document}

\AMCrandomseed{1237893}
\AMCrandomseed{1527384}

\def\AMCformQuestion#1{\vspace{\AMCformVSpace}\par {\sc Question #1:} }    


\element{all}{%enter questions to input here
  \input{questions}
}



\onecopy{22}{    

%%% beginning of the test sheet header:    

\noindent{\bf CHEM 371 - Spring 2016 - Particle in a Box Quiz} %%header, change exam number

%\vspace*{.5cm}
%\begin{center}
%  \centering\large\bf This is an email testing quiz
%\end{center}


\AMCformBegin    
\noindent\AMCcode{studentid}{9}\hspace*{\fill}
\begin{minipage}{.5\linewidth}
$\longleftarrow{}$ Encode your student ID number (92???????) here,
and write your first and last names below.

\vspace{3ex}

\namefield{\fbox{    
    \begin{minipage}{.9\linewidth}
      Full name:
      
      \vspace*{.5cm}\dotfill
      \vspace*{1mm}
    \end{minipage}}}
\end{minipage}
\AMCform    

%ENTER EXAM DIRECTIONS BELOW.
\noindent
%Questions using the sign \multiSymbole{} may have zero, one or several correct answers.  Other questions have a single correct answer.
For this quiz, you may use your lab notebook and a laptop computer. Your answers will be based on work you've already completed, but data sets may be different than those used previously. You will have 20 minutes to complete this quiz. Each question  has exactly one correct response. Indicating more than one response will make your answer invalid.  You may make any other marks on the exam that you like, but do not mark inside answer boxes except for choices you think are correct. {\bf\em Answers must be given exclusively on this sheet. Answers given on any other sheets will be ignored. Remember to give your final answer with the appropriate number of significant figures.}\\ 

\noindent {\bf The quiz is worth a total of 30 points.}


\vspace{2ex}

%%% end of the header

\shufflegroup{all}
\insertgroup{all}

%\AMCcleardoublepage    


%Cover Page information:

%\clearpage
%\noindent\hspace{-3cm}\includegraphics[angle=90,origin=c,width=1.2\textwidth]{CoverSheet_final1.pdf}
%\newpage
%\noindent\hspace{-3cm}\includegraphics[width=1.2\textwidth]{CoverSheet_final2.pdf}


}  

\end{document}

