%% LyX 2.2.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[letterpaper]{geometry}
\geometry{verbose}
\pagestyle{empty}
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[authoryear]{natbib}

\makeatletter
\@ifundefined{date}{}{\date{}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage[insidebox,box,automarks]{automultiplechoice}
\AMCtext{draft}{}
\AMCtext{message}{}
\usepackage{tikz}

\makeatother

\usepackage{babel}
\begin{document}
\AMCformBegin

\noindent %
\noindent\begin{minipage}[t]{1\columnwidth}%
\noindent %
\noindent\begin{minipage}[t]{0.11\columnwidth}%
\begin{flushleft}
Student ID:
\par\end{flushleft}%
\end{minipage} %
\begin{minipage}[t]{0.34\columnwidth}%
\vspace{-15bp}
\begin{tikzpicture}
%\draw (0,0) rectangle (0.8,0.8);
\draw[step=0.587cm,thin] (0,0) grid (5.301,0.589);
\end{tikzpicture}

\vspace{2bp}

\hspace*{\fill}\AMCcode{studentID}{9}\hspace*{\fill}%
\end{minipage}\hspace{0.25cm} %
\noindent\begin{minipage}[t]{1\columnwidth}%
\noindent %
\begin{minipage}[t]{0.32\columnwidth}%
\noindent \hspace{-0.25cm}$\longleftarrow$ Write your Student ID
here.

\medskip{}

Then fill in the box for each number. Fill in the box completely.
You will only get credit for this exam if this is done correctly.\vspace{2cm}
%
\end{minipage}

\noindent \namefield{%
\begin{minipage}[t]{0.5\columnwidth}%
\noindent Name: \hrulefill{}\hphantom{}%
\end{minipage}}%
\end{minipage}%
\end{minipage}

\begin{question}{This is a test}

What kind of test?

\begin{choices}

\wrongchoice{a silly one}

\correctchoice{an important one}

\end{choices}

\end{question}

\AMCform
\end{document}
